Docker seems to have lost everything after restarting.
Let docker restart and automatically run the tasks in the original crontab
How does docker’s centos Bring crontab
How does the original crontab content automatically load into the new docker after the docker restarts
Add command to dockerfile to add the contents of the scheduled task to the container.