[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How to dump cron messages to /dev/null
- From: ABrady <kcsmart kc rr com>
- To: redhat-install-list redhat com
- Subject: Re: How to dump cron messages to /dev/null
- Date: Tue, 6 Nov 2001 10:00:40 -0600
On Tue, 6 Nov 2001 17:05:22 -0500 (EST) "J.A" <skiper arupa or id>
imparted to us:
> Hi folks,
> I set crontab to run fetchmail every 2 minutes.
> But I'm bored of getting my mailbox full with Cron
> Daemon messages saying that another fetchmail is
> running.
> So anybody can tell me how to dump
> those messages to /dev/null?
'fetchmail -d <time_in_seconds>' is the best way. But in general to keep
cron from ailing stuff append this to the end of the line that calls a
function in the crontab:
> /dev/null 2>&1
Prevents any output at all from occurring, including error messages.
--
Am I supposed to be impressed?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]