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

Re: Output cron in mailbox



To quote "mark's-debian" <ricky@beeldbron.nl>,
# Hello,
# 
# I setup a cronjob to fetch these mailinglists messeages from my
mailserver. Everytime the job is run I get an email with the output from
this job. How do I stop this. Because I'm afraid I'm loosing valuable
diskspace

Add "> /dev/null 2>&1" to the end of the command; that'll route both
standard output and standard error to /dev/null. That should catch
everything.

David Barclay Harris, Clan Barclay
    Aut agere, aut mori. (Either action, or death.)



Reply to: