Fixed path for config file in cron invocation.

This commit is contained in:
Dave Lane 2022-11-15 06:47:53 +00:00
parent b07e2f1ff2
commit eb625966b0

View file

@ -4,17 +4,17 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# run system backups
#
# hourly - at 5 minutes past mon-sat
25 * * * * root /home/data/scripts/docker-compose-dbbackup/dbbackup-docker-compose -c /home/data/scripts/docker-compose-dbbackup/default-docker-compose.conf --hourly
25 * * * * root /home/data/scripts/docker-compose-dbbackup/dbbackup-docker-compose -c default-docker-compose.conf --hourly
#
# daily - at 7:30 pm, mon-sat
30 19 * * * root /home/data/scripts/docker-compose-dbbackup/dbbackup-docker-compose -c /home/data/scripts/docker-compose-dbbackup/default-docker-compose.conf --daily
30 19 * * * root /home/data/scripts/docker-compose-dbbackup/dbbackup-docker-compose -c default-docker-compose.conf --daily
#
# weekly - at 7:30 pm, sun
30 19 * * sun root /home/data/scripts/docker-compose-dbbackup/dbbackup-docker-compose -c /home/data/scripts/docker-compose-dbbackup/default-docker-compose.conf --weekly
30 19 * * sun root /home/data/scripts/docker-compose-dbbackup/dbbackup-docker-compose -c default-docker-compose.conf --weekly
#
# monthly - at 8:30 pm, on the first of the last of the month
30 20 1 * * root /home/data/scripts/docker-compose-dbbackup/dbbackup-docker-compose -c /home/data/scripts/docker-compose-dbbackup/default-docker-compose.conf --monthly
30 20 1 * * root /home/data/scripts/docker-compose-dbbackup/dbbackup-docker-compose -c default-docker-compose.conf --monthly
#
# yearly - at 8:30 pm, on the first of January.
30 20 1 1 * root /home/data/scripts/docker-compose-dbbackup/dbbackup-docker-compose -c /home/data/scripts/docker-compose-dbbackup/default-docker-compose.conf --yearly
30 20 1 1 * root /home/data/scripts/docker-compose-dbbackup/dbbackup-docker-compose -c default-docker-compose.conf --yearly