Hacker News new | past | comments | ask | show | jobs | submit login

Well assuming that the gates don't move timezones. But obviously jobs that need to run for a given timezone should be configured to run in that timezone.



Unless the gates need to open at 2:30am and in the case of daylight savings time that hour is skipped.


Not if that cron file (you can have multiple cron files per user/system) is configured to run in the local timezone.


But then wouldn't the job run twice when time "falls back"?


no, it would run either twice at the "same time" as it is read out, but obviously 60 minutes apart time duration wise; but this can't be helped as this time "existed" twice in that time zone. Or conversely in spring that time wouldn't happen at all, but the cron job will still run 60 minutes apart time duration wise. But this is the downside of local time, just make sure if you want to open a door at 01:30 local time that that is what you really want, because the unintended consequences could be a bit strange.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: