PyIScheduledWorkItem.SetIdleWait

SetIdleWait(wIdleMinutes, wDeadlineMinutes)

Sets idle parms for task with trigger of type TASK_EVENT_TRIGGER_ON_IDLE

Parameters

wIdleMinutes : int

Nbr of minutes computer must be idle before task fires

wDeadlineMinutes : int

Maximum nbr of minutes task will wait for computer to become idle