aboutsummaryrefslogtreecommitdiffstats
path: root/script/make-crontab
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-11-07 15:49:15 +0000
committerMark Longair <mhl@pobox.com>2013-11-07 15:49:15 +0000
commit99c35e70de774a4ad8dfeb3e72badb4a7e5f94aa (patch)
treefd57b28710e28d9f6305d808b79f3bced87a7d8b /script/make-crontab
parent9541299e871bfd82d9c48745cce721a919dbde73 (diff)
parent0bd2e863f0f824aaa14cdabaeca865bea3c0b898 (diff)
Merge branch 'install-script' into rails-3-develop
Diffstat (limited to 'script/make-crontab')
-rwxr-xr-xscript/make-crontab16
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
-
-
-