[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cron



>How can I stop cron sending a message root everytime it runs a
>script. I have a couple of cron jobs that run every 15 minutes and I
>am getting hundreds of messages a day.

Make sure that the programs in question don't produce any output
(e.g. by redirecting the output to /dev/null.)  Cron mailing you any
output that it sees is a feature.

- Richard

-- 
http://www.elmail.co.uk/staff/richard/
GCS d- s+:- a-- C++ ULVS+++$ P+++ L++ E++ W(++,--) N(++,+) o? K w---
O? M- V? PS(+,+++) PE Y+ PGP+ t- 5++ X+@ R tv--- b++>++++ DI+ D+ G e++
h r% y++


Reply to: