如何在 Google Cloud Daily 00:00 上 运行 Cron
How to run Cron on Google Cloud Daily at 00:00
我有一个 cron 作业,每 24 小时 运行s
- 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
是否可以像这样运行每天安排
schedule: daily 00:00
[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
我有一个 cron 作业,每 24 小时 运行s
- 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
是否可以像这样运行每天安排
schedule: daily 00:00
[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