Windows Server 2008 uses the scheduled task to execute the BAT batch file graphic tutorial

  

Open the scheduled task shortcut (in the "Administrative Tools"):

C:\\ProgramData\\Microsoft\\Windows \\Start Menu\\Programs\\Administrative Tools\\Task Scheduler.lnk

A lot of people are asking me:

1, where is the Windows Server 2008 scheduled task configured?

2, Windows Server 2008 can configure my tasks every minute or hour?

The answer is: Yes!

First of all, Windows Server 2008 is very different from other server operating systems and Windows Server 2003. The name of the scheduled task is "Task Scheduler" is not in the Control Panel, but in the "Administrative Tools" ”

Because the server needs to do some tasks, execute it regularly, write the program yourself, trouble, so use BAT instead of operation, many people on the network are saying how to configure every minute, we will configure it today.

Open“Task Scheduler”–Click“Task Scheduler Library> On the right, you will see "Create Basic Tasks" and "Create Tasks" in the action item. Figure:


Click on “Create Task” as shown below: fill in the corresponding name and check the necessary conditions


Select the “Trigger” option, click “New”, create task execution time, “repetition task interval” after this selection, there is time to choose, hourly, or per minute, you can After the selection, modify the time and then confirm.


The configuration that needs to be executed is to select the program to be written or the BAT file. The important configuration here is to select the BAT file and start at "<; In (optional) & rdquo; here must fill in the corresponding executable program or the directory where the BAT file is located, otherwise the implementation is unsuccessful.

Special note: I was almost deceived, thinking that the Windows scheduled task is less than the minute level, mainly to see the "repeated time interval (P)"; there is no "1 minute" option on the right As shown below:


In fact, in addition to the drop-down selection, you can manually modify the time value, such as the above "1 minute" & rdquo;!!!


After adding, the added scheduled tasks appear in the list bar.



Copyright © Windows knowledge All Rights Reserved