[Wylug-discuss] Cron report messages
Jason Lander
jason at env.leeds.ac.uk
Fri Dec 16 11:14:06 GMT 2005
Ann,
> I've got a problem in that cron jobs that run on my server send reports
> automatically to me via an alias, but cron jobs on my workstation do
> not send automatic reports. I can force the job to report by appending
> a nail command, but that doesn't give the clear From and Subject
> labelling that the server reports do.
Some versions of cron will allow you to add a line
MAILTO=email at address
to the crontab file. If the cron'd commands produce any output, it
will be mailed to that address - with a sensible subject line.
- Jason
More information about the Wylug-discuss
mailing list