Commit Graph
2 Commits
Author SHA1 Message Date
James TyraandGitHub 958208f5b0 Merge 5b4a2c3165 into fc8b5fdbe2 2023-10-02 14:46:23 +02:00
James TyraandGitHub 5b4a2c3165 Update cron.md
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
E: 6: */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.
2023-04-06 11:42:13 -05:00