I am trying to create a sample job to setup a timeout for different jobs. I read about the timeout property for the job, and tried looking at how to set it up, and see the results. The job is setup as a synchronous job. About the input box, I was just trying to create an instruction where visually I could see when the job gets terminated. This is actually what I need to accomplish: I have a job that runs in a Remote Instance. This job has been hanging every now and then, since the job is setup as synchronous, it hangs the queue where it gets loaded, delaying other jobs that gets posted to that queue. The job that hangs is pretty much a call to an external executable that creates some files, the files get emailed and posted to an FTP site. The excutable command works properly since the files are created, the emails get sent, but somewhere between sending the emails and posting the files to the FTP site, the job hangs. Seting up a timeout in the job, would resolve the hanging part and releasing the queue. Any ideas? : This script is not going to work because of the following reasons: 1. Job can : change its own timeout, but it doesn't apply to the currently running : instance, it only changes the job definition. : 2. Timeout makes sense for program type jobs that run an external process and : terminate it forcibly when the process runs longer then expected (as : specified in the timeout). Here is what the docs say: "This property : is used with synchronous program type jobs only." : 3. InputBox is invalid, second parameter is not a free text. It must be one : of the predefined edit styles. : Please let me know what you are trying to do and I will suggest how to do : that right.
|