![]() |
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 |
| FileWatcher Script | Amit.Sagpariya | Shell Programming and Scripting | 4 | 10-27-2008 06:04 AM |
| Autosys | DILEEP410 | Shell Programming and Scripting | 1 | 06-11-2008 06:52 AM |
| Documentation and books on Autosys Job Control Tool from Autosys | gram77 | UNIX for Advanced & Expert Users | 0 | 11-10-2007 06:24 AM |
| About autosys | btech_raju | UNIX for Dummies Questions & Answers | 1 | 11-05-2007 04:42 PM |
| Problem with filewatcher... | bhagat.singh-j | Shell Programming and Scripting | 2 | 11-03-2006 07:39 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Filewatcher job : Autosys
I have filewatcher job that succeeds when the file it watches for arrives. But I want it ot fail if it watches for the file beyond a threshold time lmiti (say 1 hour).
Is there a way to acheive this ? Is there any attribute that would help ? |
|
||||
|
Presumably you have a loop that sleeps for a while and checks for the file, then sleeps for a while again if it is not there?
Just add a counter to the loop... and when that counter reaches a certain amount, exit the loop with an error message. |
![]() |
| Bookmarks |
| Tags |
| autosys |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|