aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/crontab.ugly7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/crontab.ugly b/config/crontab.ugly
index c08a827ad..fa2cd1974 100644
--- a/config/crontab.ugly
+++ b/config/crontab.ugly
@@ -4,7 +4,7 @@
# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org. WWW: http://www.mysociety.org/
#
-# $Id: crontab.ugly,v 1.27 2009-05-21 08:13:01 louise Exp $
+# $Id: crontab.ugly,v 1.28 2009-06-02 01:48:43 francis Exp $
PATH=/usr/local/bin:/usr/bin:/bin
MAILTO=team@whatdotheyknow.com
@@ -31,3 +31,8 @@ MAILTO=team@whatdotheyknow.com
43 2 * * * !!(*= $user *)!! /data/vhost/!!(*= $vhost *)!!/mysociety/foi/script/request-creation-graph
48 2 * * * !!(*= $user *)!! /data/vhost/!!(*= $vhost *)!!/mysociety/foi/script/user-use-graph
+# Restart mongrels on live site once a day to make sure RAM freed
+30 3 * * * root [ -e /etc/init.d/foimongreld ] && /etc/init.d/foimongreld restart
+
+
+