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

Re: Output cron in mailbox



On Thu, 8 Mar 2001, mark's-debian wrote:

> 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

Put this at the end of the relevant line in crontab  :)

1>/dev/null 2>/dev/null

and it'll all go away :)

There's also a shorter syntax like 2&1>/dev/null but I can't remember it
exactly at the moment...

Regards, 

Gavin



Reply to: