# PassKeeper — automated database backup cron # # Install: # crontab -e # Paste the line below, then save. # # What it does: # Runs backup_db.sh at 02:00 daily. # stdout/stderr is redirected to backup.log; cron will also email on failure # if MAILTO is configured in the system crontab. # # Adjust the path to match your deployment directory. MAILTO="" 0 2 * * * /bin/bash /home/spuser/PassKeeper/scripts/backup_db.sh >> /home/spuser/backups/passkeeper/backup.log 2>&1