Jenkins: centralizing the management of scheduled tasks

Configure the job schedule

Now that we know how to put a job in place, we will modify the first job to schedule it.

Under Jenkins the scheduling is configured with the cron syntax under Linux. The website Crontab Generator can help you generate the syntaxe.

Go to the job configuration in the What triggers the build section, check the periodically Build 1 box then enter the schedule in the Planning 2 field and click Save 3 . When entering the schedule below the field, the date of the previous run as well as the next one is displayed.

job planning

Check that the build is well executed at the scheduled time 1 .

executed build - Jenkins