aboutsummaryrefslogtreecommitdiffstats
path: root/script/make-crontab
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-11-12 10:43:06 +0000
committerLouise Crow <louise.crow@gmail.com>2013-11-12 10:43:06 +0000
commit49ec8adf7027992377f8e322ef69db503e6eb94a (patch)
treee95fcbff40134be33130467ba4d5e10fee6e4605 /script/make-crontab
parent4598c4d5c03e026c00881f0ecfd51c8ef33ea9aa (diff)
parent3a9c244e75d44a0a65b51eb1144a0b2d64911a75 (diff)
Merge branch 'rails-3-develop' of ssh://git.mysociety.org/data/git/public/alaveteli into rails-3-develop
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
-
-
-