0

Hello there, I'm not too entirely familiar with the operation of scheduled tasks within Windows XP and I'm tasked with finding an operable solution.

Firstly, a couple things come to mind:

1. Start the process with windows using a low priority and sleep until it is time to function. This idea is definitely not an elegant solution.

2. Use the Windows XP Task Scheduler to schedule a task for the right time(s) that use my tool by passing command-line arguments. I would like a way to add the task to the schedule via C# but haven't found it yet.
http://support.microsoft.com/kb/308569

Secondly, I would like to ask about other potential solutions and just a spare opinion on which one you would choose.

Regards,
pseudorandom21

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by Momerath
1

You can run the command line utility schtasks from within your C# program. Use 'schtasks /create /?' for help about creating a task.

NOTE: schtasks may not be available on Windows XP.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.