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

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.