aboutsummaryrefslogtreecommitdiffstats
path: root/script/make-crontab
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-11-15 11:39:12 +0000
committerMark Longair <mhl@pobox.com>2013-11-15 11:39:12 +0000
commit64618741c17760fcb59647d74d1ccaff56160b15 (patch)
treed84f1f035b136180f0bdacb22895fbb0f1abf2c1 /script/make-crontab
parent96b3b5adbdafb25e5ab6ca94b89d6682a2e8f0e4 (diff)
parentcda26c36f309cdd8e8bbab9186f6cc0d4876e6c9 (diff)
Merge branch 'release/0.15' into wdtk
Conflicts: lib/tasks/stats.rake
Diffstat (limited to 'script/make-crontab')
-rwxr-xr-xscript/make-crontab16
1 files changed, 0 insertions, 16 deletions
diff --git a/script/make-crontab b/script/make-crontab
deleted file mode 100755
index d214f1485..000000000
--- a/script/make-crontab
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env python
-import re
-
-mailto = "recipient-of-any-errors@localhost"
-user = "user-to-run-as"
-location = "/path/to/alaveteli"
-
-template = open("config/crontab-example").read()
-template = re.sub(r"MAILTO=.*", "MAILTO=%s" % mailto, template)
-template = template.replace("!!(*= $user *)!!", user)
-template = re.sub(r"/data/vhost/.*/script", location + "/script", template)
-
-print template
-
-
-