Difference between revisions of "Scheduling Cron jobs"
Your guide to pathway services
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:
- Click on the Sites tab.
- Locate the Command Line section.
- Select Cron Jobs.
- Click on Add new Cron job.
- From the Parent website dropdown list, select the website that you would like to schedule a cron job for.
- 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 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.)