This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Schedules to not take timezone into account #11
Comments
mbyrne00
pushed a commit
to mondo-mob/graphile-scheduler
that referenced
this issue
Dec 17, 2020
Oh man that's a pretty big oversight. To be clear, with that change, it worked as expected? |
Hey @davbeck - yes that quick fix did the trick. I can take a look at fixing the Otherwise we'd be happy to join as contributors to help speed things up. |
mbyrne00
pushed a commit
to mondo-mob/graphile-scheduler
that referenced
this issue
Dec 18, 2020
…tch dates using defined timezone - Revert previous "quick fix" that mutated existing migration - New migration to re-create function davbeck#11
mbyrne00
pushed a commit
to mondo-mob/graphile-scheduler
that referenced
this issue
Dec 18, 2020
mbyrne00
pushed a commit
to mondo-mob/graphile-scheduler
that referenced
this issue
Dec 18, 2020
mbyrne00
pushed a commit
to mondo-mob/graphile-scheduler
that referenced
this issue
Dec 18, 2020
mbyrne00
pushed a commit
to mondo-mob/graphile-scheduler
that referenced
this issue
Dec 18, 2020
PR submitted ... tested locally with a bunch of crons and it fixes the issue. The PR does the update properly with a migration and fixes the |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Regardless of what is entered into the
timezone
of a schedule, it seems to always kick off according toUTC
.The simplest fix is to change the following line
graphile-scheduler/sql/000001.sql
Line 89 in 06d73c9
FROM
TO
It would probably be better if the
schedules_matches
function itself could be passed any timestamp and did that translation internally but my PG plsql is very rusty.Once I did the fix the schedules kicked off at the correct time. The job entries still had the
fireDate
specified inUTC
time but it was the correct equivalent time.The text was updated successfully, but these errors were encountered: