|
|
|
|
|
by latchkey
239 days ago
|
|
You can tell the job when to run in UTC time and change that time depending on what the current DST rules are. But if the job is set to run in UK time and the system clock jumps around because of TZ changes, it will run twice or not at all. Having a stable zero based time that doesn't move around by external forces that you can't control is "the answer." |
|
How about I use some form of library to do it. I tell it I want to run at 0800 London time, and it runs at 0800 London time
If I tell it I want to run at 0130 London time (or 0330 Athens time) I still have a problem -- do I run it twice when the clocks go back, do I skip it when clocks go forward?
But that's a business logic problem, and defining it as UTC and having another job to update the time twice a year doesn't actually solve the question of "what do I do at this point".