Title: RE: crontab error?

I think that you need to have the date format string in quotes:
   /u01/oracle/admin/prod/scripts/update.ora >
   /u01/oracle/admin/prod/log/update.log.`date "+%m%d%y"` 2>&1

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 06, 1999 1:03 PM
To: [EMAIL PROTECTED]
Subject: crontab error?


I'm trying to create a log file for a process with a date appended to the
logfile name.  For example, update.log.120699.  Below is my crontab input
and the error message mailed to me.  Any help is greatly appreciated.  Thanks.


/u01/oracle/admin/prod/scripts/update.ora >
/u01/oracle/admin/prod/log/update.log.`date +%m%d%y` 2>&1


/u01/oracle/admin/prod/scripts/update.ora >
/u01/oracle/admin/prod/log/update.log.`date +

/bin/sh: unexpected EOF while looking for ``'
/bin/sh: -c: line 2: syntax error


--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to