我有一个每 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 关注
- 81 浏览
添加回答
举报
0/150
提交
取消