as suggested by Walt Sullivan" <Walt.Sullivan@edgeflow.com> > I'm glad I could help. But, this means that you owe the sunmanagers list a > new summary that includes the solution! > > Walt for crontab files or indeed any shell script: Remove extra spaces after the '\' Problem: > tar cvf tape \ > /u1 \<space> > > log \ > 2> err Should be tar cvf tape \ /u1 \ > log \ 2> err > > ----- Original Message ----- > From: "Walt Sullivan" <Walt.Sullivan@edgeflow.com> > To: <kdevitt@iel.ie> > Sent: Tuesday, June 12, 2001 1:45 PM > > > > Are you _sure_ (in the /usr/bin/sum or md5 sense) that the two systems' > > scripts are IDENTICAL? > > If the non-redirecting one had any whitespace (blank, tab, formfeed) > > following a \ used to continue a line, the line would NOT be continued. > > > > A "cat -vet" of the file would show if this were true. Another symptom of > > broken continuation would be the creation of a 0 byte $ERROR or $LOG file. > > > > Walt Sullivan > > Unix Guy > > > > edgeflow > > 329 March Road, > > Kanata, Ontario K2K 2E1 > > walt.sullivan@edgeflow.com > > (613) 270-9279 x262 > > Fax: (613) 270-9628 > > > > > > -----Original Message----- > > From: "Karl Devitt" <kdevitt@iel.ie> > > To: <sunmanagers@sunmanagers.org> > > Subject: SUMMARY: cron problem - output redirection not working > > Date: Mon, 11 Jun 2001 10:35:17 +0100 > > Reply-To: kdevitt@iel.ie > > > > > > Thanks all, and special thanks goes to Paul Hedgepeth who suggested the = > > use of parenthesis: > > (tar cvf $TAPE \ > > /usr /u1 /u2 /opt \ > > /build /etc /export /TT_DB \ > > >> $LOG) \ > > 2> $ERROR > > > > Have used this in a test script from cron and it works fine, still = > > unsure why there is a discrepancy between the systems though. > > > > Karl. > > > > > > > *************************************************************************** > > 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@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. > > > *************************************************************************** > > > > > > > *************************************************************************** > 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@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. > *************************************************************************** > > > *************************************************************************** > 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@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. > *************************************************************************** > > *************************************************************************** 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@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. ***************************************************************************Received on Thu Jun 14 11:01:35 2001
This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:57 EDT