diff options
author | Mark Longair <mhl@pobox.com> | 2013-11-15 11:39:12 +0000 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-11-15 11:39:12 +0000 |
commit | 64618741c17760fcb59647d74d1ccaff56160b15 (patch) | |
tree | d84f1f035b136180f0bdacb22895fbb0f1abf2c1 /script/make-crontab | |
parent | 96b3b5adbdafb25e5ab6ca94b89d6682a2e8f0e4 (diff) | |
parent | cda26c36f309cdd8e8bbab9186f6cc0d4876e6c9 (diff) |
Merge branch 'release/0.15' into wdtk
Conflicts:
lib/tasks/stats.rake
Diffstat (limited to 'script/make-crontab')
-rwxr-xr-x | script/make-crontab | 16 |
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 - - - |