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

Re: cron



Al Youngwerth <alberty@apexxtech.com> writes:

> If anyone really knows how to get cron to stop pestering me, let me =
> know.=20

If the command has output, you will get the results mailed to you.  I
don't know of any way to stop that, but it's easy to arrange for the
command to avoid sending results.

Just make your command

cmd > /dev/null

or the more thorough

cmd > /dev/null 2>&1

which redirects stderr and stdout.

See "man bash" for more details.

--
Rob



Reply to: