]> piware.de Git - bin.git/commitdiff
backup: notify about start/end
authorMartin Pitt <martin@piware.de>
Thu, 24 Mar 2011 08:33:43 +0000 (09:33 +0100)
committerMartin Pitt <martin@piware.de>
Thu, 24 Mar 2011 08:33:43 +0000 (09:33 +0100)
backup

diff --git a/backup b/backup
index 0f16d58dc778ecce1d8d3bbe228916d3ab7f4e0f..0c1fe41a1962b6c10461bba5f54fe37b17b38566 100755 (executable)
--- a/backup
+++ b/backup
@@ -41,4 +41,6 @@ get_age weekly.0
 
 # call rsnapshot
 echo mode: $mode
+notify-send "$mode backup started" || :
 rsnapshot -c ~/.rsnapshotrc $mode
+notify-send "$mode backup finished" || :