How to know the time a ECS Scheduled Task started?

Viewed 214

I have a question about ECS Scheduled Task.

When I use ECS Scheduled Task scheduled by cron, how can I know the time a task started.

ECS Scheduled Tasks on Fargate takes a few minutes to launch. I need to use accurate time every 5 minutes each.

Is there like some useful environment variable?

Thanks.

1 Answers

Based on the comments.

A possible solution is through task metadata, especially:

PullStartedAt - The timestamp for when the first container image pull began.

Related