aboutsummaryrefslogtreecommitdiffstats
path: root/script/make-crontab
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-06-17 09:14:24 -0700
committerLouise Crow <louise.crow@gmail.com>2013-06-17 09:14:24 -0700
commitc757be7663d7743975ab5ea9eb2b194d73e7969f (patch)
tree057e956dcf7c64108521d05476b483ae107e2c45 /script/make-crontab
parent11b181d8122ab83db49cdad665dcd4ed1092bd8b (diff)
parent90fa64e43061060af033d2e99ef7931d78927cea (diff)
Merge branch 'feature/crontab-example' into rails-3-develop
Diffstat (limited to 'script/make-crontab')
-rwxr-xr-xscript/make-crontab2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/make-crontab b/script/make-crontab
index 1b4fbabbd..d214f1485 100755
--- a/script/make-crontab
+++ b/script/make-crontab
@@ -5,7 +5,7 @@ mailto = "recipient-of-any-errors@localhost"
user = "user-to-run-as"
location = "/path/to/alaveteli"
-template = open("config/crontab.ugly").read()
+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)