Make Periodic Tasks timezone-aware #1029
ashleyheath
started this conversation in
Ideas
Replies: 1 comment
-
That could be interesting, it doesn't seem like a huge development, and it shouldn't change the behavior in the default case. Go for it :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a use case for using procrastinate to schedule different periodic tasks to run according to different timezone offsets (e.g. have one periodic task run at midnight UTC and another run at midnight in Europe/London.
Under the hood, it looks like croniter supports this (
set_current
will set thetzinfo
if the value passed in is adatetime
).Have started a skeleton of a PR but just wanted to check the project is happy to accept the change (and if there are any things I should keep in mind when doing the implementation).
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions