scheduled tasks - Nomad periodic job starts immediately -
i have nomad periodic job has in job config:
periodic { cron = "* */2 * * *" prohibit_overlap = true }
however, find when nomad finishes running job (the job takes less 2 hours), more or less starts again (sometimes within 60 seconds). expected start after 2 hours.
why happen, , how can make nomad start job every 2 hours?
you have * in minutes field, job start every minute. should change cron 0 */2 * * *.
Comments
Post a Comment