crontab
This commit is contained in:
parent
b273491b31
commit
a8802db99b
@ -9,6 +9,8 @@ Execute `sync.sh` to copy scripts on the server.
|
||||
|
||||
Add this line into the host crontab with `crontab -e`.
|
||||
```
|
||||
PATH=/usr/local/bin:/usr/bin
|
||||
|
||||
# Backup volumes every days at 4am
|
||||
0 4 * * * root /bin/bash /usr/local/bin/vol-backup-all
|
||||
0 4 * * * /usr/local/bin/vol-backup-all.sh
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user