From: arno Date: Wed, 29 Sep 2010 17:58:27 +0000 (+0200) Subject: clear lighttpd compress cache in cron X-Git-Tag: v0.3~33 X-Git-Url: https://dev.renevier.net/?p=syj.git;a=commitdiff_plain;h=e7e90673f2667d903f8ba1451963a2b3f05baf95 clear lighttpd compress cache in cron --- diff --git a/scripts/crontab.syj b/scripts/crontab.syj index 0360fd4..0513a30 100644 --- a/scripts/crontab.syj +++ b/scripts/crontab.syj @@ -9,3 +9,5 @@ MAILTO=arno@renevier.net 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 +# every day, clear lighttpd compress cache +12 5 * * * find /data/work/syj/lighttpd/lighttpd-cache -type f -mtime +2 | xargs -r rm