我有一個每 24 小時運行一次的 cron 作業- 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 點運行。我在文檔中看到類似的內容cron:- description: "monday morning mailout" url: /mail/weekly schedule: every monday 09:00 timezone: Australia/NSW是否可以像這樣每天運行計劃時間表:每天 00:00
1 回答

當年話下
TA貢獻1890條經驗 獲得超9個贊
根據官方文檔
[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 關注
- 128 瀏覽
添加回答
舉報
0/150
提交
取消