我有一個(gè)每 24 小時(shí)運(yùn)行一次的 cron 作業(yè)- description: "automatic renew a user after trial" url: /api/recursub schedule: every 24 hours retry_parameters: min_backoff_seconds: 2.5 max_doublings: 5 timezone: Europe/Madrid但我想安排它在每天午夜 12 點(diǎn)運(yùn)行。我在文檔中看到類似的內(nèi)容cron:- description: "monday morning mailout" url: /mail/weekly schedule: every monday 09:00 timezone: Australia/NSW是否可以像這樣每天運(yùn)行計(jì)劃時(shí)間表:每天 00:00
1 回答

當(dāng)年話下
TA貢獻(xiàn)1890條經(jīng)驗(yàn) 獲得超9個(gè)贊
根據(jù)官方文檔
[TYPE]: Custom intervals can include the every prefix to define a repetitive interval, or you can define a specific list of days in a month:
To define a repetitive interval you can use the every prefix.
Examples:
schedule: every day 00:00
schedule: every monday 09:00
- 1 回答
- 0 關(guān)注
- 145 瀏覽
添加回答
舉報(bào)
0/150
提交
取消