mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2025-02-28 08:19:22 +00:00
Merge 5b4a2c31659601313bc8faee042a19b0ae729ae9 into 3b57602fe8d545a41a8d10e40bd20954efc5ed6b
This commit is contained in:
commit
c45849cd25
@ -37,7 +37,7 @@ Then paste this at the bottom of the file and save it. Note that in this specifi
|
||||
PATH="/usr/local/bin:/usr/bin:/bin"
|
||||
|
||||
# Example running every 5 minutes
|
||||
*/5 * * * * autorestic -c /path/to/my/.autorestic.yml --ci cron
|
||||
*/5 * * * * root autorestic -c /path/to/my/.autorestic.yml --ci cron
|
||||
```
|
||||
|
||||
> The `--ci` option is not required, but recommended
|
||||
@ -45,7 +45,7 @@ PATH="/usr/local/bin:/usr/bin:/bin"
|
||||
To debug a cron job you can use
|
||||
|
||||
```bash
|
||||
*/5 * * * * autorestic -c /path/to/my/.autorestic.yml --ci cron > /tmp/autorestic.log 2>&1
|
||||
*/5 * * * * root autorestic -c /path/to/my/.autorestic.yml --ci cron > /tmp/autorestic.log 2>&1
|
||||
```
|
||||
|
||||
Now you can add as many `cron` attributes as you wish in the config file ⏱
|
||||
|
Loading…
x
Reference in New Issue
Block a user