The following table lists Task Scheduler 1.0 examples included in this section. Starting an Executable When a User Logs Onĭefines a task that starts Notepad when a user logs on.Įnumerating Tasks and Displaying Task InformationĮnumerates through all the tasks on the local computer and displays each task's state. Starting an Executable When a Task is Registeredĭefines a task that starts Notepad when the task is registered. Starting an Executable at a Specific Timeĭefines a task that starts Notepad at a specified time.ĭefines a task that starts Notepad daily.ĭefines a task that starts Notepad when the system is booted.ĭefines a task that starts Notepad on a weekly basis. The following table lists Task Scheduler 2.0 examples included in this section. Most of these examples are stand-alone code that can be run independently, or pasted into a larger application and modified to the requirements of the application. This section contains code examples that illustrate how the Task Scheduler API is used and XML examples that show how tasks are defined in the Task Scheduler schema.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |