aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2009-06-02 01:48:43 +0000
committerfrancis <francis>2009-06-02 01:48:43 +0000
commit8139a5ba3c6a42d0c40e16b9cdc9d78654d6eddc (patch)
treeeb291a9822bc79094900ee9f801eb5356e6084b2
parent0dec1907e017a1eddcd330730c472f51d75d9f33 (diff)
Restart mongrels in middle of night.
-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
+
+
+