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

Re: How do I run fetchmail from crontab and log to syslog? (or other log)



Em Sex, 2007-03-23 às 21:14 -0600, Paul E Condon escreveu:
> the subject line is the question. creating a personal crontab was
> easy, but fetchmail running under cron sends a whole bunch of mail to
> root which, since i'm sysadmin on my own machine, clutters up my
> email.  
> 
> -- 
> Paul E Condon           
> pecondon@mesanetworks.net
> 
> 

Well, if that is what you really want, loose fetchmail's output, you can
inhibit its output putting in the end of line at cron a " > /dev/null
2>&1". To receive only errors just " > /dev/null".

Marcello.



Reply to: