How Can We Help?
How to set up a recurring cron jobHow to set up a recurring cron job
To set up a cron job that runs at a recurring interval:
- Navigate to Administrator > Jobs > Cron Job Scheduling.
- In the Create new job dropdown, select the name of the job you want to run.
The Job name page is shown for the job you selected.If the job is not listed in the dropdown, it may already be scheduled. You can see scheduled cron jobs on the Administrator > Jobs > Cron Job Scheduling tab.
- In the Schedule section you can see information about the next two times the job is scheduled to run. If you want to change the schedule, click Change schedule and choose from the following schedule options:
Select the Interval at which the job should run:
Frequency | Description |
Daily | Runs the job once a day at the specified time (24 hour format). |
Weekly | Runs the job once a week at the specified day of the week and time (24 hour format). |
Monthly | Runs the job once a month on the specified day of the month (by day number or last day) and time of day (24 hour format). |
Quarterly | Runs the job once a quarter on the first day of the quarter (Jan 1, Apr 1, Jul 1, Oct 1) at the specified time of day (24 hour format). |
Yearly | Runs the job once a year on the first day of the specified month at the specified time of day (24 hour format). |
Manual | Save the job configuration but do not set a time to run. The job is listed on the Cron Job Scheduling to run on Jan 1 2099, but you can run it on demand using the Start Job now button. |
Custom |
Run the job whenever the time matches the specified cron expression's seconds, minutes, hours, day of month, month and day of week . Cron expressions (explained under the Help with Cron Expressions link) define rules for which days and times the job should run. When specifying the day of the week, 0 refers to Monday and 7 to Sunday. You can prepopulate the fields under the Custom option by first selecting one of the other frequency options and filling in details that most closely match your needs. When you switch to the Custom frequency option, it will be pre-filled with your previous choice and you can then make changes as needed. |
- Click Update if you are happy with the scheduled time, or Remove from schedule if you would like to unschedule the job.
If you unschedule the job it will no longer be shown on the Cron Job Scheduling tab.
Updated at October 25, 2024