diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-06-12 11:58:44 -0700 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-06-12 11:58:44 -0700 |
commit | 90fa64e43061060af033d2e99ef7931d78927cea (patch) | |
tree | 41c84c480abf2054506aecfc4b893e4c3a6ea5b6 /script/make-crontab | |
parent | 3e50311e30e304c8b399cf0b33c8b90fecc94626 (diff) |
Move crontab.ugly to crontab-example
Diffstat (limited to 'script/make-crontab')
-rwxr-xr-x | script/make-crontab | 2 |
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) |