worker icon indicating copy to clipboard operation
worker copied to clipboard

Crontab runs tasks 6 hours later than defined

Open Hagalas opened this issue 3 years ago • 2 comments

Summary

My crontab looks like this: 0 9 * * 2 taskExample but job runs 6 hours later (at 3pm). I checked time on remote machine where the app is running. Same with docker container and database. They all show correct time. Any suggestions?

Hagalas avatar Mar 08 '22 21:03 Hagalas

What timezone is your system set to? Try setting it to UTC.

benjie avatar Mar 08 '22 22:03 benjie

Actually that should make no difference, we only run using UTC times no matter the system timezone I think. At least that’s what the README says 🤷‍♂️

benjie avatar Mar 08 '22 22:03 benjie

I'm going to assume this was a timezone issue. Relevant: #334

benjie avatar Oct 24 '23 10:10 benjie