Docker Community Forums

Share and learn in the Docker community.

Best practice for cron?


(David Ham) #1

I have a Rails/Postgres app running in two containers, one for the Rails app and one for Postgres. I am setting up WAL-E for my backups and I want to set up a cron task to run a base backup once a day. This is currently the only need I have for cron. What’s the best way to handle this? Is there a Docker best practice around running cron tasks?