How to get the enable / disable a scheduled task using C#?
-
31-05-2021 - |
Question
Using C# (.net Framework 4.0) and Windows XP is it possible to enable/disable a Schedulled Task programatically?
La solution
Use the Task Scheduler Managed Wrapper:
This project provides a single assembly wrapper for the 1.0 and 2.0 versions of Task Scheduler found in all Microsoft operating systems post Windows 98. It simplifies the coding, aggregates the multiple versions, provides an editor and allows for localization support.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow