You can disable the job when it starts and enable it when it ends. This way while the job runs it doesn't check for the semaphore files. If this is not a program type job convert it to a JAL script job. To enable/disable job without hard-coding job id or name use @V macro-parameter JobEnable(@V"job_id", FALSE) RunAndWait( ...... JobEnable(@V"job_id", TRUE) : I have a job that depends on a file existing to start. : The file is used in the job and must remain where it is : until the end of the job at which point it is moved. : The polling interval is shorter than the time it takes the : job to run, so it tries to restart the job while it is running. : Other than increasing the polling time to something longer than the : time it takes the job to run (which I'd rather not do) is there a way : to stop this? Can I, for example, tell the job to stop polling altogether? : Thanks in advance for your help.
|