error to null in cron jobs
Jason Joines
joines
Mon May 17 11:53:44 PDT 2004
Michael Hipp wrote:
> Jason Joines wrote:
>
>> When I do the same thing in a script via cron, I get the error in
>> the ouput even with 2>/dev/null.
>
>
> I generally use &> /dev/null to keep things quiet.
>
> You can also put that at the end of the line in /etc/crontab to quiet
> the whole cron job.
>
> Michael
>
I tried the &>/dev/null but that gets rid of the non-error output as
well. I want that ouput.
Jason
===========
More information about the Linux-users
mailing list