Delayed cron execution for scheduled task


I have a scheduled task set to run Monday-Friday at 9am and 9pm EST. This past Friday night, the task appears to have triggered based on the CloudWatch metrics for it, but the logs for the task did not appear until Sunday at 9pm. Is this delay expected when using scheduled tasks in ECS? If not, is there a way to tell why the delayed execution occurred? If it is expected, is there a way to control it more granularly?

asked 3 years ago317 views
1 Answer

After some digging, it seems that this is related to timezones. Our code has a check for hours to run, and due to the UTC timezone that the scheduled tasks run under, there is a conflict.

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions