Hi,
I have a unix shell that test the existence of a file.
I need to configure a cyclic job that runs from 05:00 to 09:00 every 20 minutes and calls this shell until the file exists (stop cyclic), and if at the end of the time range the file doesnt exists, i need to set the job to NOTOK (red).
how do i do this?
thanks for your help.
Jorge
cyclic job waiting for a file
- Nightwatchrenband
- Nouveau
- Posts: 28
- Joined: 24 Jul 2012 12:00
- Location: Long Beach, CA
cyclic job waiting for a file
IF you are on v7, do two jobs. First a filewatcher. cyclic job, and set the from time in execution tab. Set absolute stop time in FW parms. In your STEP tab set OK if file not found. SETCOND to release the next job which is the script. Set NOTOK if reach absolute stop time and Do SETCOND to "N" so script will not run.
If you can write good Unix script that might be easier and take one less job.
If you can write good Unix script that might be easier and take one less job.