aboutsummaryrefslogtreecommitdiffstats
path: root/config/crontab.ugly
diff options
context:
space:
mode:
Diffstat (limited to 'config/crontab.ugly')
-rw-r--r--config/crontab.ugly14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/crontab.ugly b/config/crontab.ugly
new file mode 100644
index 000000000..e9822b7cd
--- /dev/null
+++ b/config/crontab.ugly
@@ -0,0 +1,14 @@
+# crontab.ugly:
+# Timed tasks for FOI site. Template file.
+#
+# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
+# Email: francis@mysociety.org. WWW: http://www.mysociety.org/
+#
+# $Id: crontab.ugly,v 1.1 2008-02-12 11:42:10 francis Exp $
+
+PATH=/usr/local/bin:/usr/bin:/bin
+MAILTO=team@mysociety.org
+
+# Once a day, early morning
+23 4 * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!//delete-old-sessions.lock /data/vhost/!!(*= $vhost *)!!/mysociety/foi/scripts/delete-old-sessions || echo "stalled?"
+