Cron did not run at midnigth
a1ds19HOBBY
a year ago
I have a service with Node.js and Nest.js. If I leave the cron to run every minute, for example, it works, but if I configure the cron to run every day at midnight, it does not work when it's deployed, works locally.
6 Replies
a1ds19HOBBY
a year ago
Yes, it is.
a year ago
Are you aware that the services run in the UTC time zone as standard practice for cloud services?
Status changed to Solved railway[bot] • about 1 year ago
a1ds19HOBBY
a year ago
No, I was not aware of that
a year ago
Your midnight is not likely to be UTC midnight, so please account for that when setting your CRON expression.
a1ds19HOBBY
a year ago
Yes, thank you!