Delayed cron execution for scheduled task

0

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?

質問済み 3年前327ビュー
1回答
0

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.

回答済み 3年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ