Page 1 of 1

Problem with ExecutionTimeLimit

Posted: Mon Nov 02, 2009 7:33 am
by Eick
Hello,

As I created a certain amount of task using your scheduler, i recognized that every time i set the ExecutionTimeLimit of the FTaskDefinition.Settings in the saTask Unit to an empty String, windows is going to activate that option in the windows taskproperties and set it to value of 3 Days (which i think is the maximum amount of time windows is dealing with).

I tried it with you demo, too.

Every time i unchecked (deactivated) the option "Stop the Task if it runs longer than" windows is going to activate it for the value of 3 days.

My System is Windows Vista Ultimate.

I hope that you can help me with that problem.

Regards,
Eick

Posted: Thu Nov 05, 2009 7:16 am
by isiticov
Hello,

72 hours is a default value set by Windows for task time limit. To disable time limitation set MaxRunTime property of TaskItem to INFINITE (DWORD($FFFFFFFF)) value.