Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


JonG
  •  JonG
  • No customer Topic Starter
2012-06-14T13:43:12Z
Hi, I’ve created a job which includes a number of process execute tasks which are configured to run in order. The job is triggered to run at 11.30pm; the tasks must not run beyond 8am the following morning. I need to determine the best way to achieve this.

I understand that time exceptions are not an option as they apply to jobs only and not the tasks included in the job, hence if the job starts before a time exception period, the tasks will continue to run even if they run into the time exception period. Is this correct?

I have also considered applying an 8.5 hour timeout to the job so it aborts at 8am. Would this also abort the current task and the process executable or will they complete and end gracefully? The requirement is that the process executable must not be killed.

As an alternative, is it possible to create a condition that would prevent a task from running 8.5 hours after the main job has started? I’ve tried to get this working by using the variables available in VisualCron but my testing has resulted in failure. I would be grateful for any advice/assistance. Many thanks.
Sponsor
Forum information
Support
2012-06-14T14:09:56Z
In your case the Timeout property is the one to use. We do not kill the process gracefully. This might work for Windows forms applications (with a close button) but then you cannot trust that the process has exited at all.

When timeout occurs it can generate an error or not. You control this in the "On error" tab of Task.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top