cron problem - output redirection not working

2007-12-24 20:05:00

This is a multi-part message in MIME format.

------=_NextPart_000_00CE_01C0F00C.932BF820
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,

I have one server in particular that is running a common backup script =
with output and errror redirection:
tar cvf $TAPE \
/usr /u1 /u2 /opt \
/build /etc /export /TT_DB \
>> $LOG \
2> $ERR
Instead of following the redirects as indicated, the error and output =
are spent via mail to root. any ideas what I should check?

Thanks,
Karl

Karl Devitt
UNIX System Administrator
IT Department

Interactive Enterprise Ltd.
Tel: +353-1-4660600
Fax: +353-1-4660284
htpp://www.interactive-enterprise.com

***************************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager (postmaster at iel.ie).

Any opinions expressed within the message are those of the sender, and are
not necessarily reflective of the prevailing company policies.

Copyright in this E-Mail remains with the sender.
***************************************************************************

------=_NextPart_000_00CE_01C0F00C.932BF820
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have one server in particular that is =
running a=20
common backup script with output and errror redirection:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>tar cvf $TAPE=20
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr /u1 /u2 /opt=20
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /build /etc /export =
/TT_DB=20
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&gt; $LOG=20
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&gt; $ERR<BR>Instead of =

following the redirects as indicated, the error and output are spent via =
mail to=20
root. any ideas what I should check?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Karl</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Karl Devitt<BR>UNIX System =
Administrator<BR>IT=20
Department</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Interactive Enterprise Ltd.<BR>Tel:=20
+353-1-4660600<BR>Fax:=20
+353-1-4660284<BR>htpp://www.interactive-enterprise.com<BR></FONT></DIV><=
/BODY></HTML>

------=_NextPart_000_00CE_01C0F00C.932BF820--

Comments

Got something to say?

You must be logged in to post a comment.