From d242516d52cabe06abdbedab972eb474728e57e8 Mon Sep 17 00:00:00 2001 From: Mark Longair Date: Thu, 31 Oct 2013 17:17:46 +0000 Subject: 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. --- script/make-crontab | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 script/make-crontab (limited to 'script/make-crontab') 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 - - - -- cgit v1.2.3