crontab
This commit is contained in:
@ -9,6 +9,8 @@ Execute `sync.sh` to copy scripts on the server.
|
|||||||
|
|
||||||
Add this line into the host crontab with `crontab -e`.
|
Add this line into the host crontab with `crontab -e`.
|
||||||
```
|
```
|
||||||
|
PATH=/usr/local/bin:/usr/bin
|
||||||
|
|
||||||
# Backup volumes every days at 4am
|
# 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
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user