Created
January 16, 2014 00:56
-
-
Save alexclifford/8447886 to your computer and use it in GitHub Desktop.
Useful BackupPC crons.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Do a check to ensure BackupPC is running, if not email root | |
00 12 * * * backuppc /usr/share/backuppc/bin/BackupPC_sendEmail -c | |
# Email a daily host summary | |
50 18 * * * root wget --user=backuppc --password=XXXXXXXX -O hostsummary.html http://backupserver/backuppc/index.cgi?action=summary > /dev/null 2>&1; cat hostsummary.html | mail -a "Content-type: text/html" -a "From: [email protected]" -s "Backup Summary" [email protected] > /dev/null 2>&1; rm hostsummary.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment