From e7e90673f2667d903f8ba1451963a2b3f05baf95 Mon Sep 17 00:00:00 2001 From: arno Date: Wed, 29 Sep 2010 19:58:27 +0200 Subject: [PATCH] clear lighttpd compress cache in cron --- scripts/crontab.syj | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2