From 96d851254c810af41225f775caf7c6b98fce7de9 Mon Sep 17 00:00:00 2001 From: arno Date: Sun, 19 Sep 2010 10:36:19 +0200 Subject: [PATCH] do not mail vacuum output from crontab --- scripts/crontab.syj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.2