* Daniel Campbell-Macdonald ([EMAIL PROTECTED]) [28.07.08 21:49]:
> HI list
>  I am new to Debian and I am having trouble with crontab- I can't for the 
> life of me seem to figure out how to get it to send me an email.
> I did the crontab - e thing and
> set up something like the following
>
> [EMAIL PROTECTED]
> */8 * * * * wget http://www.whatismyip.com/automation/n09230945.asp
>
> from this all I get is a series of files in my home folder.
>
> Where to I set up the emailing part for cron?

The setup seems perfectly OK. If your MTA is set up correctly, you 
should get an email if the command spits out any error messages.

<crystal ball>
But if I look at the cron job if get the impression, that you want get 
the the results of the command send via email.

To accomplish that you should pipe the outcomst to mailx or something 
similar.
</cryatal ball>

Sebastian

-- 
 " Religion ist das Opium des Volkes. "      Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER         mailto:[EMAIL PROTECTED]

Attachment: pgp7BhgqtcGzA.pgp
Description: PGP signature

Reply via email to