Chef - Cronjab Recipe could take a list for schedule
Jaymon opened this issue · comments
For example, if you wanted the weekend to be different than monday-friday, you could do something like (instead of creating a whole new block):
"foo-cron" => {
"command" => "/some/command",
"schedule" => [
"0 12 * * 1-5", # run at noon monday-friday
"0 23 * * 0,6", # run at 11pm on the weekend
]
}
From December 2017 issue in private repo