开发者

Are crons executed globally or per app instance (i.e. load dependent)?

开发者 https://www.devze.com 2023-02-05 08:49 出处:网络
If I define a cron in App Engine to execute \"ev开发者_JAVA技巧ery 10 minutes\" - does that mean:

If I define a cron in App Engine to execute "ev开发者_JAVA技巧ery 10 minutes" - does that mean:

(a):

  • "every 10 minutes per app instance (i.e. load dependent)"

(b):

  • "every 10 minutes globally across all instances of the application" (i.e. load independent)?


It is once globally every 10 minutes. Note that the interval refers to the time between jobs. So job 2 will start 10 minutes after job 1 finishes. This might be important if your job is long-running (e.g., if it takes 5 minutes to run, then it will actually start every 15 minutes if you specify "every 10 minutes").

0

精彩评论

暂无评论...
验证码 换一张
取 消