Skip to content

Commit

Permalink
docs: added docs for CRON_TZ (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnochoo authored Nov 18, 2024
1 parent 444c452 commit 3847ffc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/source/scheduler.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ Or you can set multiple schedules.
- name: scheduled job
command: job.sh
You can also specify a cron expression to run within a specific timezone. See `list of tz database timezones <https://en.wikipedia.org/wiki/List_of_tz_database_time_zones>`

.. code-block:: yaml
schedule: "CRON_TZ=Asia/Tokyo 5 9 * * *" # Run at 09:05 in Tokyo
steps:
- name: scheduled job
command: job.sh
Stop Schedule
--------------

Expand Down

0 comments on commit 3847ffc

Please sign in to comment.