亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

如何在 Google Cloud 上每天 00:00 運行 Cron

如何在 Google Cloud 上每天 00:00 運行 Cron

PHP
慕斯709654 2023-09-22 17:50:37
我有一個每 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


查看完整回答
反對 回復 2023-09-22
  • 1 回答
  • 0 關注
  • 128 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號