fix rsnapshot cron
This commit is contained in:
@@ -3,6 +3,8 @@ services:
|
||||
container_name: rsnapshot
|
||||
image: linuxserver/rsnapshot:1.4.5
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- TZ=Europe/Amsterdam
|
||||
volumes:
|
||||
- /opt/rsnapshot:/config
|
||||
- /mnt/yotta/xenon/rsnapshot:/host/scratch
|
||||
|
||||
10
rsnapshot/crontabs/root
Normal file
10
rsnapshot/crontabs/root
Normal file
@@ -0,0 +1,10 @@
|
||||
0 3 * * * rsnapshot -c /config/os.conf daily
|
||||
0 4 * * 0 rsnapshot -c /config/os.conf weekly
|
||||
0 5 30 * * rsnapshot -c /config/os.conf monthly
|
||||
0 3 * * * rsnapshot -c /config/docker.conf daily
|
||||
0 4 * * 0 rsnapshot -c /config/docker.conf weekly
|
||||
0 5 30 * * rsnapshot -c /config/docker.conf monthly
|
||||
0 3 * * * rsnapshot -c /config/users.conf daily
|
||||
0 4 * * 0 rsnapshot -c /config/users.conf weekly
|
||||
0 5 30 * * rsnapshot -c /config/users.conf monthly
|
||||
* * * * * date > /host/scratch/date
|
||||
Reference in New Issue
Block a user