autorestic icon indicating copy to clipboard operation
autorestic copied to clipboard

Update cron.md

Open mox1 opened this issue 1 year ago • 2 comments

crontab entries need a user. When copying and pasting the examples directly into my crontab, they were not running. Using a crontab checking utility, an error was generated:

Checking correctness of /var/spool/cron/crontabs/root

*/5 * * * * /usr/local/bin/autorestic -v -c /root/.autorestic.yml --ci cron |& /usr/bin/logger -t autorestic > /dev/null 2>&1 e: INVALID_USER: Invalid username "/usr/local/bin/autorestic" E: There were 1 errors and 0 warnings.

This update adds a username (root) to the example, which fixes the syntax error.

mox1 avatar Apr 06 '23 16:04 mox1