James Sparenberg wrote:
All,Try using the following:
For 90% of my cron jobs... I want the e-mail.... however one job that
runs hourly (webalizer) is useless. Does anyone know how to turn off
the e-mail feature for just this job?
James
7 * * * * /usr/local/bin/webalizer -c /sysadm/data/webalizer/JunkMail/webalizer.conf >/dev/null 2>&1
The key is to send the output to /dev/null the 2>&1 also redirects any errors to this wonderful file as well!
HTH.
--
Albert E. Whale, CISSP - Sr. Security, Network, and Systems Consultant
--------------------------------------------------------------------------------
http://www.abs-comptech.com & http://www.No-JunkMail.com ABS Computer Technology, Inc. - ESM, Computer & Networking Specialists
No-JunkMail.com - SPAM Stops Here.
Founding Board of Directors of Pittsburgh FBI - InfraGard
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
