Google App Engine cron job schedule repeat on days with DST changes

FrozenKiwi

I have a cron job that should repeat every 3 hours and must land on 9:30 in US/NY time.

If I start the job at 0:30, and run it every 3 hours, will it run at 9:30 on daylight savings days?

The documentation is a bit vague on this: https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules#daylight_savings_time. It uses wall clock time to start, but does it use wall-clock time for each offset as well?

Alternatively, could I start it using 9:30 as the trigger time, and then every 3 hours until 6:30am the next day?

Jan Hernandez

As you mentioned, Cloud scheduler uses wall clock time, is expected that the executions changes according the wall time.

To run a job from 9:30am to 6:30am (next day) you need 2 Scheduler jobs

1st will be run every 3 hours starting 9:30 to 23:30

30 9/3 * * *

2nd will be run every 3 hours starting 0:30 to 6:30

30 0-6/3 * * *

I use this page when I have doubts about cron format

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Trying to schedule first cron job, does this schedule look good

分類Dev

Google App Engineのcronジョブスケジュールは、DSTが変更された日に繰り返されます

分類Dev

2019:動的cronジョブGoogle App Engine

分類Dev

Google App Engine Cron not triggering endpoint at specific times

分類Dev

easiest way to schedule a Google Cloud Dataflow job

分類Dev

Error 302 running cron and login:admin in app.yaml in google app engine

分類Dev

Schedule Cluster resizing on Google Kubernetes Engine

分類Dev

Google Cloud Functions Cron Job Not Working

分類Dev

RSA in Google App Engine

分類Dev

google app engine and mongodb

分類Dev

Starting app engine modules in Google App Engine

分類Dev

Google App Engine changes content-type to text/html even though it is set to application/xml

分類Dev

Detecting app engine datastore model attribute changes

分類Dev

Google App Engine cronジョブをキャンセルまたは停止する方法

分類Dev

Google Cloud App Engine cronジョブ-サービスを呼び出さない

分類Dev

Google App Engineでcronジョブをデバッグする方法は?

分類Dev

Google Cloud App Engine Cron は Python スクリプトを実行できません

分類Dev

Google Compute Engine for Web Server or App Engine

分類Dev

Google App Engine Channel API

分類Dev

Google App EngineのOSGI?

分類Dev

Google App EngineとFirebase

分類Dev

Google App EngineとFirebase

分類Dev

Is Google App Engine memcache secure?

分類Dev

Google App Engine / _ah / health

分類Dev

Google App Engine Endpoints with Maven

分類Dev

Porting Application to Google App Engine

分類Dev

Google App Engine Java API

分類Dev

Google App Engine Java API

分類Dev

OAuth for Google App Engine Python

Related 関連記事

  1. 1

    Trying to schedule first cron job, does this schedule look good

  2. 2

    Google App Engineのcronジョブスケジュールは、DSTが変更された日に繰り返されます

  3. 3

    2019:動的cronジョブGoogle App Engine

  4. 4

    Google App Engine Cron not triggering endpoint at specific times

  5. 5

    easiest way to schedule a Google Cloud Dataflow job

  6. 6

    Error 302 running cron and login:admin in app.yaml in google app engine

  7. 7

    Schedule Cluster resizing on Google Kubernetes Engine

  8. 8

    Google Cloud Functions Cron Job Not Working

  9. 9

    RSA in Google App Engine

  10. 10

    google app engine and mongodb

  11. 11

    Starting app engine modules in Google App Engine

  12. 12

    Google App Engine changes content-type to text/html even though it is set to application/xml

  13. 13

    Detecting app engine datastore model attribute changes

  14. 14

    Google App Engine cronジョブをキャンセルまたは停止する方法

  15. 15

    Google Cloud App Engine cronジョブ-サービスを呼び出さない

  16. 16

    Google App Engineでcronジョブをデバッグする方法は?

  17. 17

    Google Cloud App Engine Cron は Python スクリプトを実行できません

  18. 18

    Google Compute Engine for Web Server or App Engine

  19. 19

    Google App Engine Channel API

  20. 20

    Google App EngineのOSGI?

  21. 21

    Google App EngineとFirebase

  22. 22

    Google App EngineとFirebase

  23. 23

    Is Google App Engine memcache secure?

  24. 24

    Google App Engine / _ah / health

  25. 25

    Google App Engine Endpoints with Maven

  26. 26

    Porting Application to Google App Engine

  27. 27

    Google App Engine Java API

  28. 28

    Google App Engine Java API

  29. 29

    OAuth for Google App Engine Python

ホットタグ

アーカイブ