diff options
author | Mark Longair <mhl@pobox.com> | 2013-10-31 17:17:46 +0000 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-11-07 12:46:25 +0000 |
commit | d242516d52cabe06abdbedab972eb474728e57e8 (patch) | |
tree | 4ed6f597398f3533ff80e550a48d78ac6be830df /script | |
parent | a81cb5c7693c6e8e623e9ab5b4d912340af699b0 (diff) |
Remove make-crontab and update INSTALL.md
The make-crontab script is now redundant, so instead direct
people to use the config_files:convert_crontab rake task for
generating a crontab file.
Diffstat (limited to 'script')
-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 - - - |