Does anyone know which time config this will use? Is it the system time, UTC, or something else?
Does anyone know which time config this will use? Is it the system time, UTC, or something else?
From the readme:
> Be aware that pg_cron always uses GMT!
(=UTC)
[0] https://infiniteundo.com/post/25326999628/falsehoods-program...
(if this is your first time seeing this article, have fun! also check out the one about names.)
[^] in the UK at least, clocks go forward skipping the hour 0100-0200, and repeat it when they go back. If that happens at a different time where you are (this hypothetical feature gets even more complicated! and) then I mean whatever appropriate time for my point to make sense.
Sometimes you need something to run at 9am daily, in your local time zone. If your local time zone shifts for daylight savings, you can't define it in UTC without changing it twice a year.