kartoza / docker-pg-backup

A cron job that will back up databases running in a docker postgres container
GNU General Public License v2.0
452 stars 103 forks source link

Change cron logic to use /var/spool/crontabs #25

Closed nilsnolde closed 4 years ago

nilsnolde commented 4 years ago

Change cron logic to use /var/spool/crontab as container crontab directory, as it wasn't running any cron job in a container before with on Ubuntu 18.04 and

docker --version
Docker version 19.03.4, build 9013bf583a

docker-compose --version
docker-compose version 1.22.0, build f46880fe

fixes #24

NyakudyaA commented 4 years ago

@nilsnolde tested it and it all looks good