Home Man
Search
Today's Posts
Register

BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

trigger a script based on the run status of another scipt

Tags
script, shell scripts, status, trigger

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 10-02-2008
trigger a script based on the run status of another scipt

Im a newbee..
I have a script which runs few times daily. I want to write another script which should pick up the latest log generated from the last run of the first job and trigger a thrid script if the first script runs successfuly.

Please help...

Cheers
# 2  
Old 10-02-2008
Code:
grep success logfile >/dev/null && third

Without more information about the log file, we can't really offer much more.
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Move files based on status kumarinfa Shell Programming and Scripting 4 11-14-2017 10:59 AM
Execute a script based on status of embedded script mbak Shell Programming and Scripting 1 03-23-2017 08:01 PM
Automatic script trigger Gautham Shell Programming and Scripting 9 06-12-2014 12:57 PM
cant get a counter to work in bash scipt, this is calling expect script melvin Shell Programming and Scripting 1 04-13-2010 10:15 PM
Perl script, how can I use this scipt in different folders luhaiming Shell Programming and Scripting 1 03-08-2010 10:03 AM
How to trigger a script based on another log file. nishigupta Shell Programming and Scripting 1 01-21-2009 06:31 AM
Can we trigger an shell script on an event cv_pan UNIX for Dummies Questions & Answers 8 10-17-2008 08:24 AM
Trigger Shell Script from Current Script mmignot Shell Programming and Scripting 1 11-06-2006 01:13 PM
Check if trigger Script is running mgirinath Shell Programming and Scripting 9 04-05-2006 01:07 AM
Shell script call from a DB trigger rahulrathod Shell Programming and Scripting 1 12-15-2005 06:28 AM


All times are GMT -4. The time now is 05:56 AM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password