18 Jan
2005
18 Jan
'05
19:26
The Tuesday 2005-01-18 at 19:08 +0200, Hans du Plooy wrote:
I have a cron script that runs every - calls a program that analyse logs and crate graphs with the info. The way I set it up is simply to make a script that call the program, and stick it in the /etc/cron.hourly directory. Now I get a mail every hour. How do I get it not to send the mail? I know how to do this from the crontab file, but not if I use the cron.xyz directories directly.
I think you will be emailed only if the otuput code (errorlevel?) of your script is not 0. -- Cheers, Carlos Robinson