What is the best way to run a Console application (C#) once per day at a certain time on Windows XP? I want to see the Console window.
|
feedback
|
migrated from stackoverflow.com Sep 11 '10 at 11:28
This question came from our site for professional and enthusiast programmers.
Using Scheduled TasksTo open Scheduled Tasks -> click Start -> click All Programs -> point to Accessories -> point to System Tools -> click Scheduled Tasks. To schedule a new task: 1. Double-click Add Scheduled Task to start the Scheduled Task Wizard, and then click Next in the first dialog box. 2. The next dialog box displays a list of programs that are installed on your computer, either as part of the Windows XP operating system, or as a result of software installation. Use one of the following procedures:
3. Type a name for the task, and then choose one of the following options:
4. Click Next, specify the information about the day and time to run the task, and then click Next. *Note that the information about the day and time to run the task vary depending on the selection that you made in the previous wizard dialog box. For example, if you chose Weekly, you must indicate the day of the week, the time, and if the task should run every week, every 2 weeks, every 3 weeks, and so on. 5. Type the name and password of the user who is associated with this task. Make sure that you choose a user with sufficient permissions to run the program. By default, the wizard selects the name of the user who is currently logged on. 6. Click Next, and then click Finish after you verify the choices that you have made. Resource from here | |||||
feedback
|
|
You can use the windows scheduler, something like:
Or you can do it as a Windows Service and set "Interact with desktop" (or whatever it is called these days). | |||
|
feedback
|
|
Use Scheduled Tasks. It does exactly that and lets you choose a specific interval. | ||||
|
feedback
|