Answers.Body: <p>There is some general information about scheduling jobs and running cron here <a href="http://gitbook.civicrm.org/initial-set-up/scheduled-jobs.html" rel="nofollow">User and Administrator Guide</a>.</p>
  
  <p>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 <a href="https://wiki.civicrm.org/confluence/display/CRMDOC/Managing+Scheduled+Jobs#ManagingScheduledJobs-Command-lineSyntaxforRunningJobs" rel="nofollow">Managing Scheduled Jobs</a>.</p>
  
  <p>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.</p>
  
  <p>This command line should work in most situations; though, there can be better options for security, etc. depending on your environment.</p>
  
  <pre><code>*/15 * * * * /path/to/php /path/to/civcrm/module/bin/cli.php -s site -u user -p password -e Job -a execute
  </code></pre>
  
  <p>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).</p>
  
  <p>For the crontab challenged folks (most of us at some point), the */15 says to run it every 15 mins.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-09T02:46:19.920Z
Answers.LastActivityDate: 2016-02-09T02:46:19.920Z
Answers.UserDisplayName: Paul-Tahoe
Body: <p>I'm sorry guys,  I have really no idea what I'm doing. I'm just trying to learn as I go. 
  I've been checking out forums and videos and it all leads me to this: I need to know the command so I can add the cron job from my cpanel, so that my civiCRM starts sending the emails.
  I have already enabled the option "process_mailing" on scheduled jobs settings.
  Sorry I'm so lost... hope any of you can help me.  </p>
  
Tags: <civimail><cron-job>
Title: How can I add the "automated mailer task cron job"?
ThreadText: # How can I add the "automated mailer task cron job"?
  
  (Asked by: username_0 on 2016-02-07)
  
  I'm sorry guys, I have really no idea what I'm doing. I'm just trying to learn as I go.
  I've been checking out forums and videos and it all leads me to this: I need to know the command so I can add the cron job from my cpanel, so that my civiCRM starts sending the emails.
  I have already enabled the option "process\_mailing" on scheduled jobs settings.
  Sorry I'm so lost... hope any of you can help me.
  
  **Tags:** civimail, cron-job
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-02-09. Score: 1
  
  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.
  
  
  ---
  
  