[Wylug-discuss] Cron report messages

Anne Wilson cannewilson at tiscali.co.uk
Fri Dec 16 11:41:17 GMT 2005


On Friday 16 Dec 2005 11:04, Jason Lander wrote:
> 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.
>
Hmm - server (produces report) is set with MAILTO=email and workstation 
(no report) was set to MAILTO=email at address.  Changed that to match 
server, but still no report.  There must be something else.

Anne
-- 
Registered Linux User No.293302 (http://counter.li.org/)
Mandriva hints & tips: http://twiki.mdklinuxfaq.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://list.wylug.org.uk/pipermail/wylug-discuss/attachments/20051216/b9deb09d/attachment.bin


More information about the Wylug-discuss mailing list