10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i want to pop up an alert box using perl script. my requirement is.
i am using a html page which calls a perl script. this perl script calls a shell script.. after the shell script ends its execution, i am using exit 0 to terminate the shell script successfully and exit 1 to terminate the... (3 Replies)
Discussion started by: Little
2. Shell Programming and Scripting
/prod/HotelierLinks/palaceLink/bin/PalacefilesWait /prod/HotelierLinks/palaceLink/bin/prodEnvSetup 03212013 &
echo "fatal error: Palace/HardRock failed!!!!" 1>&2
echo "Palace Failed" | mail -s "Link Failed at Palace/HardRock" -c... (1 Reply)
Discussion started by: aroragaurav.84
3. Shell Programming and Scripting
I am executing database backup via shell script (Korn). The backup log is long, but I would like to capture only the last line so I can send an email if it fails
Example of failed backup (only last 3 lines)
BR0056I End of database backup: bejbofoh.aff 2012-07-26 07.31.21
BR0280I... (7 Replies)
Discussion started by: nimo
4. Shell Programming and Scripting
I would like to compare 2 files, and have a return code write to a file.
regardless of the files contents are the same the code should be writing to a file (if both files contents are same then return code 0).
A simple example will be great :)
Thanks (3 Replies)
Discussion started by: khchong
5. Shell Programming and Scripting
I am trying to exit a shell script (c shell) while invoking a job (service) that must run in the background:
There are downstream jobs and scripts that need to be run, but they all 'wait' for the script to exit. The script 'hangs' and... (3 Replies)
Discussion started by: CKT_newbie88
6. UNIX for Dummies Questions & Answers
My job is launched using this command: I'm at home and having VPN drops so I used nohup and background.
nohup perf_mon -c rating_4_multi,cfg &
The main script is PID 26119, and the sub task under it is 26118 which is not running - just sits there. 26119 runs forever but nothing else runs. I... (2 Replies)
Discussion started by: ido1957
7. Shell Programming and Scripting
I have shell script that checks processes forever.
But somehow it is killed and I want to know what causes it.
check the processes if they are running, if not restart them
I want to capture the output when the script is terminated, how can I do that?
/Andreas (2 Replies)
Discussion started by: mr_andrew
I want to know the os name via c/c++ source code.so please help me to do the same.
I will appreciate if anyone can provide me the source code.
Thanks in advance.. (9 Replies)
Discussion started by: smartgupta
9. Shell Programming and Scripting
Im trying to execute application and its return code is below
IF Status code=o
else Staus Code =-2 DJRE
then echo "......"
Can any one help me how to handle the status code and echo some message. (12 Replies)
Discussion started by: laknar
10. UNIX for Dummies Questions & Answers
I'm receiving an exit code 64 in our batch scheduler (BMC product control-m) executing a PERL script on UX-HP. Can you tell me where I can find a list of exit codes and their meaning. I'm assuming the exit code is from the Unix operating system not PERL. (3 Replies)
Discussion started by: jkuchar747