[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: cron and getmail
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: RE: cron and getmail
- From: Jens Teglhus Møller <jtm_(_at_)_itera_(_dot_)_dk>
- Date: Tue, 13 Mar 2001 13:13:25 +0100
I would recommend againts the 2>&1 part (redirecting standard error).
If an error do occour you will never know.
/jtm
> --Colonel Panic <colonel_panic_(_at_)_fnmail_(_dot_)_com> [010313 03:16]:
> > */15 * * * * /usr/local/bin/getmail
> >
> > After reading the man page I assumed if getmail gave me no output,
> > cron wouldn't bother emailing me anything. I don't want to
> change the
> > MAILTO variable to /dev/null as there are other outputs I want from
> > the crontab. Any clues on how to stop this?
>
> put >/dev/null 2>&1 at the end.
>
> */15 * * * * /usr/local/bin/getmail
> >/dev/null 2>&1
Visit your host, monkey.org