Skip to content

Period Tasks Don't Adjust for Daylight Savings #134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
harelw opened this issue Mar 16, 2018 · 8 comments
Open

Period Tasks Don't Adjust for Daylight Savings #134

harelw opened this issue Mar 16, 2018 · 8 comments

Comments

@harelw
Copy link

harelw commented Mar 16, 2018

I have a periodic task set with a crontab of 0 14 4 * * (Every Thursday at 2 PM) and TIMEZONE for Django set to America/Los_Angeles. Upon the recent change in time, it now triggers at 3 PM Los Angeles time, as if Daylight Savings hadn't started.

I do not have a different timezone set for Celery.

@harelw
Copy link
Author

harelw commented Mar 22, 2018

This seems to have corrected itself over time, but it was off for one triggering.

@amitripshtos
Copy link

Had the same issue - on the daylight saving day all my tasks got scheduled badly.

@auvipy auvipy closed this as completed Dec 11, 2018
@steveweldon
Copy link

@auvipy @harelw any idea if this is fixed in newer versions? Just had the same issue where tasks executed an hour later on daylight savings day, but triggered correctly the day after.

@auvipy auvipy reopened this Mar 22, 2022
@ShanoZen
Copy link

ShanoZen commented Apr 3, 2024

I also experienced this issue. All crontab scheduled commands during daylight saving day suffered. Running in the old time, instead of the new time.

@sudarshaana
Copy link

Any update whether it is fixed or still exists?

@konurbaev-e
Copy link

Team, any update on this issue?

We encountered the same problem yesterday due to daylight saving time in New York.

Our jobs are scheduled to run daily at 16:04 in the America/New_York timezone (CrontabSchedule).

However, on March 9, the job ran at 17:04 instead.

The celery version is 5.3.4 (emerald-rush).

@robin-repowered
Copy link

Had this exact issue yesterday with starting DST in Europe/Amsterdam timezone.

The schedule self-corrected for the next day.

@auvipy
Copy link
Member

auvipy commented Apr 24, 2025

is this PR related #605 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants