From df6be44d67e29d73b0f226985c2c7b6ec989c224 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Sun, 3 Dec 2017 22:47:13 -0800 Subject: Initial commit --- roles/rsnapshot.notyet/templates/cron.j2 | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 roles/rsnapshot.notyet/templates/cron.j2 (limited to 'roles/rsnapshot.notyet/templates/cron.j2') diff --git a/roles/rsnapshot.notyet/templates/cron.j2 b/roles/rsnapshot.notyet/templates/cron.j2 new file mode 100644 index 0000000..2cdf278 --- /dev/null +++ b/roles/rsnapshot.notyet/templates/cron.j2 @@ -0,0 +1,5 @@ +# m h dom mon dow command +00 * * * * rsnapshot -c /home/rsnapshot/$HOST/rsnapshot.conf sync && rsnapshot -c /home/rsnapshot/$HOST/rsnapshot.conf hourly +00 04 * * * rsnapshot -c /home/rsnapshot/$HOST/rsnapshot.conf daily +00 02 * * 0 rsnapshot -c /home/rsnapshot/$HOST/rsnapshot.conf weekly +00 00 1 * * rsnapshot -c /home/rsnapshot/$HOST/rsnapshot.conf monthly \ No newline at end of file -- cgit v1.2.3