Cron job output re-direction

From: Zack Ellis <zellis_at_hccanet.com>
Date: Mon, 01 Mar 1999 11:30:06 -0500

I have a quick question.

I know if I redirect output from a cron job like this, everything works fine

* * * * * program > out_file

but if I have a redirection within the script "program" output ends up in
root's mail box:

( form within program )

echo " Begin output file " >> outfile2
vdump /usr >> outfile2
echo " End of output file " >> outfile 2

the echo gets to outfile2
but the output from vdump ends up in mail

Any ideas ( just trying to create log files for backup jobs )


Zack Ellis
UNIX SysAdmin
Home Care Concepts of America
Received on Mon Mar 01 1999 - 16:36:04 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT