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?

posta 3 anni fa327 visualizzazioni
1 Risposta
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.

con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande