How can I add the "automated mailer task cron job"?
There is some general information about scheduling jobs and running cron here User and Administrator Guide.

You will find links to more details in both the guide and the link (Job parameters and command line syntax documentation…) on the Administer=>System Settings=>Scheduled Jobs.  Here is that link Managing Scheduled Jobs.

There a number of different ways to run the jobs from cron and a number of examples in the second link, which should take you to the command line syntax part of the page.

This command line should work in most situations; though, there can be better options for security, etc. depending on your environment.

*/15 * * * * /path/to/php /path/to/civcrm/module/bin/cli.php -s site -u user -p password -e Job -a execute


The -s parameter is the site name, and defaults to 'localhost'. It should be set the FQDN (fully qualified domain name) of your site (eg, 'example.com') Some jobs rely on this being set (in certain cases, the CiviMail mailing scheduler uses this FQDN to generate absolute URLs when relative URLs are in the email).

For the crontab challenged folks (most of us at some point), the */15 says to run it every 15 mins.