06-02-2009
From what you describe it looks like you have a race condition.
However without showing us the two scripts there is not much anybody can do to really help you figure out what is going on.
One suggestion, both your sleeps are set to 10 seconds. Change the first to 11 seconds and the second to 7 seconds.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi folks.
I'm just starting to teach myself shell scripting and am having some trouble with an if statement. I am working with a directory where only one file will reside at a time and need to evaluate if this file is compressed to determine subsequent steps. I'm using echo for testing purposes.... (2 Replies)
Discussion started by: kristy
2 Replies
2. Shell Programming and Scripting
Hi,
I found this strange behaviour while using one of the makefiles.
Here is the snippet of the unix.mak that is necessary for this context
SO = SvSocket.o SvStmt.o SvOdbcWrapper.o \
OdbcCallReader.o MgrCalls.o OdbcSvProxy.o \
OdbcSvApp.o... (4 Replies)
Discussion started by: vino
4 Replies
3. UNIX for Dummies Questions & Answers
I have a script which will look for a test folder under the parent directory. If the folder contains test folder then create the same directory structure in other remote machine.
Once the directories are created then transfer all the contents of that test folder.
this is what i am doing :-
... (2 Replies)
Discussion started by: chris1234
2 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I am running into a bit of an issue running a Makefile. The problem is it was written for a xlf90 compiler when I have a pgf90 on the machine. Therefore, I keep getting errors regarding the xlf90 flags because they don't correspond with the pgf90. Here is the code:
... (0 Replies)
Discussion started by: lepagano
0 Replies
5. UNIX for Dummies Questions & Answers
Can anybody actually tell, what is flag? I know they are termed as permission flags and various others.
Please explain (3 Replies)
Discussion started by: nixhead
3 Replies
6. UNIX for Advanced & Expert Users
How to identify the scripts ran at a particular day of last month?
I have to identify a script that ran on 06/01/2011 @ 4 am (3 Replies)
Discussion started by: rdhanek
3 Replies
7. UNIX for Dummies Questions & Answers
Hi there,
I need your help in understanding the below Solaris 10 ifconfig output;
athnetspns02>ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0:... (2 Replies)
Discussion started by: wthomas
2 Replies
8. Shell Programming and Scripting
hello all,
i have the below script that we used to backup our DB using oracle's utility called RMAN. This has been working fine, but the issue is when the backup fails and we re-start it, it backups the whole thing again. Example.
lets say i have 5 database on my system(db1,db2,db3,db4,db5)... (11 Replies)
Discussion started by: crazy_max
11 Replies
9. Shell Programming and Scripting
tr a-z A-Z << END_TEXT
one two three
four five six
END_TEXT
i dont want this to be executed when someone runs the script that this is in. but for some reason, it gets executed. anywhere i can wrap this up in something to make sure it never gets executed?
another example:
cat <<... (1 Reply)
Discussion started by: SkySmart
1 Replies
10. UNIX for Advanced & Expert Users
Hi,
Please let me know if you have any thoughts on how to read a table that has all the oracle sql files or shell scripts at the job and step level to identify all the tables that does merge, update, delete, insert, create, truncate, alter table (ALTER TABLE XYZ RENAME TO ABC) and call them out... (1 Reply)
Discussion started by: techmoris
1 Replies