10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have a question
my cron should start executing minute but it sould stop execute only i have tried tis
10 * * * * /home/sample.sh >>
/data/band/cron_$(date+|%Y|m|d).log (2 Replies)
Discussion started by: azherkn3
good Day everyone!
I issue a command unmirrorvg
unmirrorvg appvg hdisk3
There's no response whether it is successfully unmirror but when I check the lsvg -l appvg, it seems the hdisk3 still active.
Then I issues another reducevg command to exclude out the disk from vg
... (6 Replies)
Discussion started by: ckwan
3. Shell Programming and Scripting
echo "Welcome to my First Script"
echo "Enter a word"
echo "You are correct"
echo "Thats incorrect"
When i run the script shell says:
Syntax error at line 7:'elif' is not expected
I ran through some old posts and... (3 Replies)
Discussion started by: Amit Kulkarni
4. Shell Programming and Scripting
After my if condtion give rusult true then script should stop execution.
Please advice...Thnaks in advance (1 Reply)
Discussion started by: vivek1489
5. Shell Programming and Scripting
I run an awk script and I got the error attached below:
here are the lines that the compiler point to as an error:
duration = timeEnd1-timeBegin1;
print "Transmission: type of traffic " flow1 ;
print - Total transmitted bits = totalBits1 bits;
print - duration = ... (2 Replies)
Discussion started by: ENG_MOHD
6. Shell Programming and Scripting
I have a shell script that writes some data in a file. I want to stop the script after one hour from start of execution using "EXIT 1".
how to do it. I don't want to use CRONTAB. (5 Replies)
Discussion started by: mady135
7. Shell Programming and Scripting
Is there any command in Unix, which will stop the load process if any error is found in the i/p file?
I am trying to load 5 files sequentially.
1) If A encounter's any error while data load, the load process should stop, and it should not... (5 Replies)
Discussion started by: msrahman
i want to incorporate of piece of code in the shell script which checks whether same script is already running or not. If it is already running i want to come out (exit) if its not then continue with the execution of the script.
Any help would be very much appreciated
Thanks (3 Replies)
Discussion started by: dsdev_123
I am working on a c source code nearly 2000 line . it contains one big for( i=0; i< 200 ; i++ ) loop of around 600 lines
could any tell me how to break the execution of prog when the value of i is 50 in for loop so that i can check
inside the loop.
Thanks.. (1 Reply)
Discussion started by: useless79
10. Shell Programming and Scripting
I have a cron job which executes daily once 9 PM.
The script is like
fi (1 Reply)
Discussion started by: surjyap