How do I create a new cron job?

Posted by Daniel on May 15, 2007

From the dashboard, choose a plan. Click the advanced tab and click the cron jobs link. Click create a new cron job and enter the values for each field, including the scheduled command you wish you run. You can set the minute, hour, day, month, and day of week (Monday-Sunday; the numbers 0 or 7 represent Sunday). Any value can be ignored by placing an asterisk (*) in the text field. Click save cron job when you're done.

You can specify exact times using commas to separate them (e.g. 1,2,3 is minutes 1, 2 and 3).

You can specify spans using a dash (e.g. 5-7 is minutes 5 to 7).

You can specify intervals using a star and a forward slash. (e.g.: */2 is every 2nd minute.)

You can combine them to create a more precise schedule. (e.g.: 1,5,11-15,30-59/2 (minutes 1, 5, 11 to 15 and every 2nd minute between 30 and 59).