簡體   English   中英

Google App Engine:使用Cron for Python的預定任務

[英]Google App Engine: Scheduled Tasks With Cron for Python

我在這里閱讀了該手冊: http : //code.google.com/appengine/docs/python/config/cron.html

但我想在某些特定時間執行任務:

- description: do this cron
  url: /do-this-cron
  schedule: every day 08:15,12:15,16:15

這是合法的嗎?

我還沒有看到用逗號分隔時間的任何其他示例。

不可以,時間表格式不支持以逗號分隔的時間。 您可以改為:

- description: do this cron
  url: /do-this-cron
  schedule: every 4 hours from 08:15 to 16:15

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM