Add notes about crontab in readme

This commit is contained in:
2025-10-12 16:55:11 +00:00
parent c81dc96f0b
commit e9b80eaa50

View File

@@ -31,6 +31,8 @@ It's best to set up a cronjobs for the backup and integrity check:
``` ```
crontab -e crontab -e
# enter same command above but with absolute paths and prefixed with a cron schedule expression (see https://crontab.guru/) # enter same command above but with absolute paths and prefixed with a cron schedule expression (see https://crontab.guru/)
# note that I use output redirection instead of the `log-file` option in the crontab because I want ALL ouput including errors redirected to the log
3 3 * * * /home/user/backups/backup.sh --password-file /home/user/.restic-repo-password --healthcheck https://hc-ping.com/slug/repo-backup /home/user/folder sftp:storage-server:/backups/repo --verbose >> /home/user/logs/repo-backup.log 2>&1
``` ```
## Monitor ## Monitor