Login Login

Scheduling Cron jobs

Your guide to pathway services

Jump to: navigation, search

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 schedule 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.)
  10. In the Days of week field, enter the frequency for days in a week to trigger or run a job. (Allowed values are 0 to 7. Specifying * will run the job every day for the week. 0 and 7 are both considered Sunday.)
  11. In the Command to run field, enter the the command to be executed. Shell scripts can be executed in /bin/sh/ and URLs can be executed by wget.
  12. Select the Active checkbox to activate the cron job. To deactivate the cron job unselect the checkbox.
  13. Click Save to confirm your changes.


Cron jobs1.png