You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
"Cron Based Scheduling" allows you to schedule builds according to a flexible cron expression. For example, "0 0/30 9-19 ? * MON-FRI" would trigger a build every half-an-hour from 9am to 7pm, Monday to Friday. For more information about cron expressions, see http://www.quartz-scheduler.org/docs/tutorial/TutorialLesson06.html
.
To schedule a Plan build using a Cron expression:
- Navigate to the desired Plan, as described on Configuring a Plan.
- Click the 'Actions' dropdown and click 'Configure Plan'.
- Click the 'Repository' tab.
- In the 'Build Strategy' field, select 'Cron Based Scheduling' (see screenshot below).
- In the 'Cron Expression' field, type your cron expression. A cron expression consists of 6 mandatory and one optional field. The fields in sequential order are: seconds, minutes, hours, day-of-month, month, day-of-week and (optional) year. For more information about cron expressions, please see http://www.quartz-scheduler.org/docs/tutorial/TutorialLesson06.html.
- Click the 'Save' button.

Screenshot above: Plan Configuration — Build Strategy: Cron Based Scheduling