gjcarneiro / yacron

A modern Cron replacement that is Docker-friendly
MIT License
454 stars 38 forks source link

Support timezone schedule #26

Closed Falldog closed 4 years ago

Falldog commented 5 years ago

Description

Can you support timezone setting for schedule task ex:

jobs:
  - name: timezone LA
    command: echo "foobar"
    shell: /bin/bash
    schedule: "0 0 * * *"
    timezone: "America/Los_Angeles"

current yacron only support utc and localtime but I need to run multiple timezone tasks in one yacron process

Can you support the feature? Thanks

gjcarneiro commented 4 years ago

merged