aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-05-02 15:14:23 +0100
committerSeb Bacon <seb.bacon@gmail.com>2012-05-02 15:14:23 +0100
commit2a1e80d1917e26caf13a20c199f5333be51caac0 (patch)
treeaf4693ac9f8d878f3d6c83ede5b8c59e43147b13
parent3417e3127403194eb8cd7a51d4475ec78b07cf5b (diff)
Run the `purge-requests` init script as a cron job.
-rw-r--r--config/crontab.ugly1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/crontab.ugly b/config/crontab.ugly
index a22d5afd7..c5d023f2f 100644
--- a/config/crontab.ugly
+++ b/config/crontab.ugly
@@ -13,6 +13,7 @@ MAILTO=cron-!!(*= $site *)!!@mysociety.org
*/5 * * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/change-xapian-database.lock "/data/vhost/!!(*= $vhost *)!!/!!(*= $vcspath *)!!/script/update-xapian-index verbose=true" >> /data/vhost/!!(*= $vhost *)!!/logs/update-xapian-index.log || echo "stalled?"
# Every 10 minutes
5,15,25,35,45,55 * * * * !!(*= $user *)!! /etc/init.d/foi-alert-tracks check
+5,15,25,35,45,55 * * * * !!(*= $user *)!! /etc/init.d/purge-varnish check
# Once an hour
39 * * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/alert-overdue-requests.lock /data/vhost/!!(*= $vhost *)!!/!!(*= $vcspath *)!!/script/alert-overdue-requests || echo "stalled?"