]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- run snapper with --quiet from cron scripts
authorArvin Schnell <aschnell@suse.de>
Thu, 3 Mar 2011 16:29:03 +0000 (17:29 +0100)
committerArvin Schnell <aschnell@suse.de>
Thu, 3 Mar 2011 16:29:03 +0000 (17:29 +0100)
scripts/snapper-daily
scripts/snapper-hourly

index 3893cde906eaa72d704325ddb2fe9eac68d75c55..4a78a13022c630ef94d6042a0eb718fa86582c9d 100755 (executable)
@@ -28,15 +28,15 @@ for CONFIG in $SNAPPER_CONFIGS ; do
     . /etc/snapper/configs/$CONFIG
 
     if [ "$NUMBER_CLEANUP" = "yes" ] ; then
-       snapper --config=$CONFIG cleanup number
+       snapper --config=$CONFIG --quiet cleanup number
     fi
 
     if [ "$TIMELINE_CLEANUP" = "yes" ] ; then
-       snapper --config=$CONFIG cleanup timeline
+       snapper --config=$CONFIG --quiet cleanup timeline
     fi
 
     if [ "$EMPTY_PRE_POST_CLEANUP" = "yes" ] ; then
-       snapper --config=$CONFIG cleanup empty-pre-post
+       snapper --config=$CONFIG --quiet cleanup empty-pre-post
     fi
 
 done
index 46cd781de0dbff41b90abca5de92f8823cb13a4a..8f2d41fce2f3b9dab725db8aeda5585523f67dc1 100755 (executable)
@@ -26,7 +26,7 @@ for CONFIG in $SNAPPER_CONFIGS ; do
     . /etc/snapper/configs/$CONFIG
 
     if [ "$TIMELINE_CREATE" = "yes" ] ; then
-       snapper --config=$CONFIG create --description="timeline" --cleanup="timeline"
+       snapper --config=$CONFIG --quiet create --description="timeline" --cleanup="timeline"
     fi
 
 done