diff options
author | Mark Longair <mhl@pobox.com> | 2013-11-07 15:49:15 +0000 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-11-07 15:49:15 +0000 |
commit | 99c35e70de774a4ad8dfeb3e72badb4a7e5f94aa (patch) | |
tree | fd57b28710e28d9f6305d808b79f3bced87a7d8b /script/make-crontab | |
parent | 9541299e871bfd82d9c48745cce721a919dbde73 (diff) | |
parent | 0bd2e863f0f824aaa14cdabaeca865bea3c0b898 (diff) |
Merge branch 'install-script' into rails-3-develop
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 - - - |