![]() |
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 |
| Re : Set multiple cron jobs in one crontab file | samshaw | UNIX for Dummies Questions & Answers | 3 | 12-04-2008 01:40 PM |
| 1 script or multiple scripts?? - check files, run jobs | jnanasakti | Shell Programming and Scripting | 6 | 11-05-2008 01:10 PM |
| comment jobs in cron for multiple accounts | shibajighosh | AIX | 3 | 04-08-2008 10:52 AM |
| Monitoring Server Jobs, Roles, and Performance via Command Line | Steve M | UNIX for Dummies Questions & Answers | 2 | 07-11-2006 09:03 AM |
| .netrc multiple ftp jobs to same machine | hcclnoodles | UNIX for Dummies Questions & Answers | 3 | 03-21-2002 10:32 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
monitoring multiple jobs Unix
I have a list of jobs. their expected start time and their expected duration.
my needs are
|
|
||||
|
I would make a wrapper script that would do the following:
Code:
Set a trap for child exit On child trap, exit because we didn't exceed time Get commmand and time from command line execute command in background while time < expected sleep short time (1 minute?) if command not running then exit end while Email alert |
![]() |
| Bookmarks |
| Tags |
| monitoring, multiple jobs, unix |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|