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?

feita há 3 anos327 visualizações
1 Resposta
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.

respondido há 3 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas