Files
Cantibra a6db7726e6
All checks were successful
Borgbackup Schedule / Borgbackup Schedule [arm64] (push) Successful in 16s
Borgbackup Schedule / Borgbackup Schedule [amd64] (push) Successful in 12s
Inital Commit
2025-10-26 21:11:04 +01:00

18 lines
690 B
Plaintext

# /etc/cron.d/borgbackup
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
# * * * * * user command to execute
# | | | | |
# | | | | |
# | | | | |_______________ day of week (0 - 6) (0 to 6 are Sunday to Saturday, or use names; 7 is Sunday, the same as 0)
# | | | |______________________ month (1 - 12)
# | | |_____________________________ day of month (1 - 31)
# | |____________________________________ hour (0 - 23)
# |___________________________________________ min (0 - 59)
#
0 */6 * * * root if [ -d '/run/systemd/system' ]; then exit 0; fi; if ! '/usr/lib/borgbackup/check_condition'; then exit 1; fi; '/usr/lib/borgbackup/start_backup';
#