Off Topic "at" command (SORRY bad Spelling)

From: John F Riordan (jriorda2@CSC.COM)
Date: Thu Jan 16 2003 - 09:33:53 EST


My apologies on the previous mail I sent. I meant to say "As Always"

Hi All,

I regret to ask this question, however the "at" command is getting the best
of me.

I have taken over a 7026-6H1 with many oracle instances. One of these has
an export script that runs every night. And in the script there is a line
that should page the Oracle DBA's that the export was successful. But the
intention was to page the DBA's at 7:00am not at Midnight when the export
finishes. The following is the original line of the script.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo "echo Export Finished With StartTime $STARTT EndTime $ENDT" | mail
ora_admin_success | at 0700
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

I have tried changing the line using many combinations of syntax etc..
However, the mail is sent as soon as this part of the script is read. I
have read the man page on "at" several times but no matter what type of
changes I make it mails as soon as it is executed.

I am convinced I am doing something wrong, but I just can't put my finger
on it.

Any help would be greatly appreciated.
As Always, thanks in advance.

John



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:29 EDT