Problem with ExecutionTimeLimit

This forum is designated to discuss SiComponents Scheduling Agent.
Post Reply
Eick
Posts: 1
Joined: Thu Oct 29, 2009 2:08 pm

Problem with ExecutionTimeLimit

Post 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
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post 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.
Best regards,
Igor Siticov.
Post Reply