![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| check user id before running script | cpolikowsky | UNIX for Dummies Questions & Answers | 3 | 06-06-2008 01:02 PM |
| Running a check platform script | heartwork | Shell Programming and Scripting | 4 | 02-03-2007 04:49 PM |
| script to check for a particular process and alert if its not running | goks | Shell Programming and Scripting | 1 | 12-09-2005 05:11 AM |
| how to check whether a script is running actively or hanged/ in deadlock) | truth | HP-UX | 4 | 11-23-2005 11:55 PM |
| check that script is not running twice | Link_02 | Shell Programming and Scripting | 2 | 02-20-2002 07:17 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Check if trigger Script is running
HI,
I have a script which will be running all the time...it is like a trigger.. wakesup every 10 minutes(trigger.sh) executes, and I want to write another script which monitors this script every one hour and if it finds that trigger script is not running it should start it and exit...and here is what i could think of doing.. try and grep the script name in the process to see if it is running like.. ps -ef | grep "trigger.sh" but this is not working....I do not know why... is theree any other way to try it out. Thanks, |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|