Skip to content
⌘ NSIS Forum Archive

stop task if it runs longer than

3 posts

barx#edited

stop task if it runs longer than

Hi

I try to make a scheduled task with this script:
http://nsis.sourceforge.net/Scheduled_Tasks
(script from brainsucker and Justin Dearing for scheduled tasks using the system plug-in)

Everything works fine, except i don't know how to set the "stop task if it runs longer than" option.

Any idea ?
thanks
Anders#
Don't bump threads please, you are not the only one needing help...

Did you look for info about this in MSDN? you probably need to call ITask::SetMaxRunTime