AWS ECS Scheduled Task Not Logging to CloudWatch

Viewed 253

I have a task scheduled in ECS that is known to work both when run manually via the "Run New Task" option and when left to run as a cron expression.

However, the logs only seem to appear in CloudWatch when I run the task manually (using the same task definition, settings, etc.). When run via a scheduled task, the logs do not appear.

I've verified in CloudTrail that the task did run successfully when scheduled and there appear to be no errors, either.

Has anyone else come up against this? I've done some digging online, and while I have seen mention of it, no one has posted a resolution or answer as far as I can tell.

Thanks in advance.

0 Answers
Related