From: arno Date: Sun, 19 Sep 2010 08:36:19 +0000 (+0200) Subject: do not mail vacuum output from crontab X-Git-Tag: v0.2~2 X-Git-Url: https://dev.renevier.net/?p=syj.git;a=commitdiff_plain;h=96d851254c810af41225f775caf7c6b98fce7de9 do not mail vacuum output from crontab --- diff --git a/scripts/crontab.syj b/scripts/crontab.syj index 4dfe865..0360fd4 100644 --- a/scripts/crontab.syj +++ b/scripts/crontab.syj @@ -6,6 +6,6 @@ MAILTO=arno@renevier.net # every day, delete old sessions files 47 4 * * * find /tmp/ -name "sess_*" -user syj -ctime +45 -exec rm -f '{}' \; # every day, vacuum tables -48 4 * * * psql syj syj -c "VACUUM ANALYZE users" -48 4 * * * psql syj syj -c "VACUUM ANALYZE paths" -48 4 * * * psql syj syj -c "VACUUM ANALYZE pending_actions" +48 4 * * * psql syj syj -c "VACUUM ANALYZE users" > /dev/null +48 4 * * * psql syj syj -c "VACUUM ANALYZE paths" > /dev/null +48 4 * * * psql syj syj -c "VACUUM ANALYZE pending_actions" > /dev/null