we can use celery to implement scheduled tasks, but it’s too heavy.
APScheduler is a lightweight alternative.
it’s more advanced than sched and scheduler library.
from apscheduler.schedulers.blocking import BlockingScheduler
from docker_utils.script import update_docker_container
scheduler = BlockingScheduler()
scheduler.add_job(update_docker_container, 'cron', hour=1)
scheduler.start()