The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-09-2008
hidnana hidnana is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 14
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 ?
  #2 (permalink)  
Old 12-11-2008
Annihilannic Annihilannic is offline Forum Advisor  
  
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 1,009
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.
  #3 (permalink)  
Old 02-12-2009
tweety tweety is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 4
Hi,

there is an attribute term_run_time, in that if u set as
term_run_time: 60, after 60 min if the file was not there then it will fail.
Closed Thread

Bookmarks

Tags
autosys

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




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


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0