Unix/Linux Go Back    


Shell Programming and Scripting 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

Shell Programming and Scripting


Tags
trigger

Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 10-02-2008   -   Original Discussion by Athena
Athena's Unix or Linux Image
Athena Athena is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 3 October 2008, 4:56 AM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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
Sponsored Links
    #2  
Old Unix and Linux 10-02-2008   -   Original Discussion by Athena
era's Unix or Linux Image
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
 
Join Date: Mar 2008
Last Activity: 28 March 2011, 6:41 AM EDT
Location: /there/is/only/bin/sh
Posts: 3,653
Thanks: 0
Thanked 11 Times in 9 Posts

Code:
grep success logfile >/dev/null && third

Without more information about the log file, we can't really offer much more.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
cant get a counter to work in bash scipt, this is calling expect script melvin Shell Programming and Scripting 1 04-13-2010 11:15 PM
Perl script, how can I use this scipt in different folders luhaiming Shell Programming and Scripting 1 03-08-2010 11:03 AM
How to trigger a script based on another log file. nishigupta Shell Programming and Scripting 1 01-21-2009 07:31 AM
Can we trigger an shell script on an event cv_pan UNIX for Dummies Questions & Answers 8 10-17-2008 09:24 AM
Shell script call from a DB trigger rahulrathod Shell Programming and Scripting 1 12-15-2005 07:28 AM



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