Skip to content

Unable to set IdleSettings.WaitTimeout to "Do not wait" #905

Closed

Description

@dahall

Discussed in #903

Originally posted by s-lazukov September 30, 2021
In the Task Scheduler I can set the "Wait for idle for:" parameter to "Do not wait". How can I set this value in code?
If I set IdleSettings.WaitTimeout to TimeSpan.Zero, then the value is not written to the task parameters and the TaskScheduler uses the default value (1 hour)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ 换网址