Is there any to automatically refresh the tasks of a service on a schedule (every day, every week, etc..)? Semi-officially, it seems like there may not be (and maybe it's just up to the individual processes to shut themselves down):
A task can be scheduled for retirement in the following scenarios:
AWS detects the irreparable failure of the underlying hardware hosting the task.
Your task uses the Fargate launch type and is running on a platform version that has a security vulnerability that requires you to replace the tasks by launching new tasks using a patched platform version.