aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-02-07 18:23:31 +0000
committerMatthew Somerville <matthew@mysociety.org>2018-02-09 14:48:31 +0000
commit5260280b60a1192f87987c34a78fce63fc5c1d26 (patch)
tree9cd5a5ffb973753d10596f30a76610a4e960c1db /conf
parentf731c8400a73cdbf6e0358e740edb260c75bc92a (diff)
Script to remove expired sessions.
This also can set up users so that the admin "Log user out" function works correctly.
Diffstat (limited to 'conf')
-rw-r--r--conf/crontab-example1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/crontab-example b/conf/crontab-example
index 037dd147e..f06144699 100644
--- a/conf/crontab-example
+++ b/conf/crontab-example
@@ -31,6 +31,7 @@ PATH=/usr/local/bin:/usr/bin:/bin
13 * * * * "$FMS/bin/update-all-reports"
# Once a day on all servers
+0 0 * * * "$FMS/bin/expire-sessions"
39 2 * * * "$FMS/bin/problems-filed-graph"
43 2 * * * "$FMS/bin/problem-creation-graph"
00 8 * * * "$FMS/bin/check-for-zombies" $UNIX_USER