Login Login

Difference between revisions of "Scheduling Cron jobs"

Your guide to pathway services

Jump to: navigation, search
Line 12: Line 12:
 
#In the '''Minutes''' field, enter the frequency in minutes to trigger or run a job. (Allowed values are 0 to 59. Specifying '''*''' will run the cronjob every minute.)
 
#In the '''Minutes''' field, enter the frequency in minutes to trigger or run a job. (Allowed values are 0 to 59. Specifying '''*''' will run the cronjob every minute.)
 
#In the '''Hours '''field, enter the frequency in minutes to trigger or run a job. (Allowed values are 0 to 23. Specifying '''*''' will run the cronjob every hour.)
 
#In the '''Hours '''field, enter the frequency in minutes to trigger or run a job. (Allowed values are 0 to 23. Specifying '''*''' will run the cronjob every hour.)
 +
#In the '''Days of month '''field, enter the frequency for days in a month to trigger or run a job. (Allowed values are 1 to 31. Specifying '''* '''will run the cronjob every day.)
 +
#In the '''Months''' field, enter the frequency in months to trigger or run a job. (Allowed values are 1 to 12. Specifying * will run the cronjob every month.)
 +
#

Revision as of 16:14, 3 February 2014

Cron jobs are recurring tasks executed by the system, using cron jobs allows you to create and schedule jobs on your website. Cron jobs can run scripts based on the frequency and interval you choose.


To create a Cron Job:

  1. Click on the Sites tab.
  2. Locate the Command Line section.
  3. Select Cron Jobs.
  4. Click on Add new Cron job.
  5. From the Parent website dropdown list, select the website that you would like to schedule a cron job for.
  6. In the Minutes field, enter the frequency in minutes to trigger or run a job. (Allowed values are 0 to 59. Specifying * will run the cronjob every minute.)
  7. In the Hours field, enter the frequency in minutes to trigger or run a job. (Allowed values are 0 to 23. Specifying * will run the cronjob every hour.)
  8. In the Days of month field, enter the frequency for days in a month to trigger or run a job. (Allowed values are 1 to 31. Specifying * will run the cronjob every day.)
  9. In the Months field, enter the frequency in months to trigger or run a job. (Allowed values are 1 to 12. Specifying * will run the cronjob every month.)