From 8e6a72122de1d47a45e7e190b961f4c0a23e52d5 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Thu, 19 Jun 2014 11:45:42 +0100 Subject: config_files:convert_crontab now allows MAILTO No longer have to manually edit the crontab as MAILTO can be specified when generating the file. --- docs/installing/manual_install.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docs/installing') diff --git a/docs/installing/manual_install.md b/docs/installing/manual_install.md index bf2f9b7cd..4122aa181 100644 --- a/docs/installing/manual_install.md +++ b/docs/installing/manual_install.md @@ -385,6 +385,7 @@ The `ugly` format uses simple variable substitution. A variable looks like replaced with `/var/www/alaveteli` in your cron tab * `user`: the user that the software runs as * `site`: a string to identify your alaveteli instance +* `mailto`: The email address that cron output will be sent to There is a rake task that will help to rewrite this file into one that is useful to you, which can be invoked with: @@ -394,11 +395,11 @@ useful to you, which can be invoked with: VHOST_DIR=/dir/above/alaveteli \ VCSPATH=alaveteli \ SITE=alaveteli \ + MAILTO=cron-alaveteli@example.org \ CRONTAB=config/crontab-example > crontab -You should change the `DEPLOY_USER`, `VHOST_DIR`, `VCSPATH` and `SITE` -environment variables to match your server and installation. You should also -edit the resulting `crontab` file to customize the `MAILTO` variable. +You should change the `DEPLOY_USER`, `VHOST_DIR`, `VCSPATH` `MAILTO` and `SITE` +environment variables to match your server and installation. One of the cron jobs refers to a script at `/etc/init.d/foi-alert-tracks`. This is an init script, a copy of which lives in `config/alert-tracks-debian.ugly`. -- cgit v1.2.3