Login Login

Difference between revisions of "Scheduling Cron jobs"

Your guide to pathway services

Jump to: navigation, search
(Created page with "'''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 freq...")
 
Line 3: Line 3:
  
  
'''Cron Job''':  
+
To create a '''Cron Job''':
  
 
#Click on the '''Sites''' tab.
 
#Click on the '''Sites''' tab.
Line 9: Line 9:
 
#Select '''Cron Jobs'''.
 
#Select '''Cron Jobs'''.
 
#Click on '''Add new Cron job'''.
 
#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.  
+
#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 '''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.)

Revision as of 16:09, 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.)