LindaC
asked on
!sleep in ftp ?Invalid command
I have this scripts that seems to be working because I can see the files being trnsferred, but I don't know why in the /var/mail/oracle there are messages as if some commands are wrong;
The script that is being excuted by another script with the at now < command is int the "Cde Snippet" and the oracle cron outpu is the following.
I wonder why this messages and how to make it error free.
Your "at" job on proddb
"/var/spool/cron/atjobs/12 25545781.a "
produced the following output:
?Invalid command
Local directory now /proddb/ora6/STARPROD/arc
Interactive mode off.
/usr/bin/sh: !sleep: not found
The script that is being excuted by another script with the at now < command is int the "Cde Snippet" and the oracle cron outpu is the following.
I wonder why this messages and how to make it error free.
Your "at" job on proddb
"/var/spool/cron/atjobs/12
produced the following output:
?Invalid command
Local directory now /proddb/ora6/STARPROD/arc
Interactive mode off.
/usr/bin/sh: !sleep: not found
> more autoftp
ftp <ip address>
!sleep 60
lcd /proddb/ora6/STARPROD/arc
prompt off
cd /oradata/WHSEVZW/u03/STARPROD
!sleep 5
bin
!sleep 5
mput *.Z
!sleep 240
quit
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Authentication is being done by .netrc with a chmod of 600.
But I think blu has the answer as the error has not shown again:
Your "at" job on proddb
"/var/spool/cron/atjobs/12 25615694.a "
produced the following output:
Local directory now /proddb/ora6/STARPROD/arc
Interactive mode off.
Waiting for any additional comments to award the points.
But I think blu has the answer as the error has not shown again:
Your "at" job on proddb
"/var/spool/cron/atjobs/12
produced the following output:
Local directory now /proddb/ora6/STARPROD/arc
Interactive mode off.
Waiting for any additional comments to award the points.
ASKER
Thank you.
ASKER