Click here to Skip to main content
15,301,841 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Respected sir,

I want to run exe file of my windows application which should run automatically at given particular system time.
Please help me by giving idea for this..

thank you
Updated 17-Oct-12 23:26pm

1 solution

With Scheduled Tasks, you can schedule any script, program, or document to run at a time that is most convenient for you. Scheduled Tasks starts every time that you start Windows XP and runs in the background, and it starts each task that you schedule at the time that you specify when you create the task.

Using Scheduled Tasks

To open Scheduled Tasks, click Start, click All Programs, point to Accessories, point to System Tools, and then click Scheduled Tasks.

To schedule a new task:
Double-click Add Scheduled Task to start the Scheduled Task Wizard, and then click Next in the first dialog box.
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:
If the program that you want to run is listed, click the program, and then click Next.
If you want to run a program, script, or document that is not listed, click Browse, click the folder and file that you want to schedule, and then click Open.
Type a name for the task, and then choose one of the following options:
One time only
When my computer starts (before a user logs on)
When I log on (only after the current user logs on)

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.
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.
Click Next, and then click Finish after you verify the choices that you have made.

fjdiewornncalwe 18-Oct-12 9:46am
Please reference the source. I have taken the liberty of adding that for you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900