0
votes

Jenkins job trigger cron expression format is ? ? ? ? ?. It cannot possible set the seconds unit.

But I want schedule seconds unit, like run at everyday 15:20:10. Because there is a job with cron(0 12 * * *) and every minute job, and these two job must not to run simultaneously.

How can I do that?

Thanks for help.

1

1 Answers

0
votes

you can have several options to do that :

  1. use lock plugin to wait until your first job run will finish and only than trigger it.
  2. use the Quiet period option in the Job configuration , add 10 seconds so the job will sleep 10 seconds after it trigger.