From c29f552119b1611012ad2d85ec276f12792634dd Mon Sep 17 00:00:00 2001 From: Felix Eckhofer Date: Wed, 16 Sep 2015 15:29:46 +0200 Subject: [PATCH] documentation: cron examples: replace shell by btrbk There's no point of having the shell process around while the backup is running. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 96425e0..5c933c5 100644 --- a/README.md +++ b/README.md @@ -147,7 +147,7 @@ Retention policy: /etc/cron.daily/btrbk: #!/bin/sh - /usr/sbin/btrbk -c /etc/btrbk/btrbk-mylaptop.conf run + exec /usr/sbin/btrbk -c /etc/btrbk/btrbk-mylaptop.conf run - This will create snapshots on a daily basis: @@ -227,7 +227,7 @@ regular basis: /etc/cron.daily/btrbk: #!/bin/sh - /usr/sbin/btrbk run + exec /usr/sbin/btrbk run Note that you can run btrbk more than once a day, e.g. by creating the above script in `/etc/cron.hourly/btrbk`, or by calling `sudo btrbk