Click here to Skip to main content
15,896,154 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
can any one please help me to understand how i should progress.

i followed this steps:

1. Open Task Scheduler by clicking the Start button , clicking Control Panel, clicking System and Security, clickingAdministrative Tools, and then double-clicking Task Scheduler. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
2. Click the Action menu, and then click Create Basic Task.
3. Type a name for the task and an optional description, and then click Next.
4. Do one of the following:
• To select a schedule based on the calendar, click Daily, Weekly, Monthly, or One time, click Next; specify the schedule you want to use, and then click Next.
• To select a schedule based on common recurring events, click When the computer starts or When I log on, and then click Next.
• To select a schedule based on specific events, click When a specific event is logged, click Next; specify the event log and other information using the drop-down lists, and then click Next.
5. To schedule a program to start automatically, click Start a program, and then click Next.
6. Click Browse to find the program you want to start, and then click Next.
7. Click Finish.

but i have doubt for point 6

can some one please help me to understand this point.

--The dialog for “Start a Program” will open. Enter or browse to the executable file or script you want to run

what is this excitable file contains ?? how to create this ??
Posted
Updated 26-Jul-15 22:32pm
v2
Comments
Wendelius 27-Jul-15 4:42am    
It is the program or command line script you choose to run using the scheduler. What is the doubt you have?
ajitdstar4u 27-Jul-15 5:41am    
i have to choose a a EXE file say (QueueProcessTasks.exe), so how to do this.

doubts:
i have a similar job which is running in my Productions, for another client i have to create another windows scheduler. how to do that ??

1 solution

Either set it up with e SQL Server Agent (if available and you have access), or create a batch file to run a SQL script from the command line and schedule the batch file.

Here[^] are the docs for SQLCMD:
 
Share this answer
 

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