Task Wait Time

Every task is run in a separate thread within the Engine.  You can set the maximum time that the Engine will wait for the task to finish running.  

Wait Time: Enter the wait time in seconds.  Enter 0 to wait forever.

NOTE:  It is not safe to kill/destroy a thread.  Hence the Engine will not kill the thread if it is still running after the wait time.  It will simply stop waiting for it.  

NOTE: If your task actually takes longer to run than the set wait time, you will see the Exit Code being logged before some of the task run output. Example:

Jul 27, 2006 4:44:13 PM Copy - CopyTest - Manual Run
Jul 27, 2006 4:44:13 PM Copy - CopyTest - Start Instance = 850
Jul 27, 2006 4:44:13 PM Source = c:\test\test.bat, Date = Jul 26, 2006 1:44:15 PM
Jul 27, 2006 4:44:13 PM File copied to: c:\test\test_06_27_07.bat 
...
...
Jul 27, 2006 4:44:18 PM Copy - CopyTest - Task runtime detected as greater than set wait time. Setting exit code = 999
Jul 27, 2006 4:44:18 PM Copy - CopyTest - End Instance = 850 , Exit Code = 999 , Runtime (ms) = 15031
Jul 27, 2006 4:44:19 PM Source = c:\test\test2.bat, Date = Jul 26, 2006 1:44:15 PM
Jul 27, 2006 4:44:19 PM File copied to: c:\test\test2_06_27_07bat
...
...