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?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Schedule Postgres backup using cron | 1 | 2759 | May 6, 2020 | |
| Best way to run cron with Docker | 0 | 1182 | April 23, 2018 | |
| Automated/cron backups of Postgres database? | 2 | 6035 | July 6, 2016 | |
| Install cron in docker container based on Ruby | 2 | 6785 | June 5, 2017 | |
| Cronjobs in docker container | 10 | 30708 | November 27, 2016 |