Use Scheduled Tasks in Windows Server 2008 to perform a bat batch file in a timed and graphical tutorial

Source: Internet
Author: User

This article focuses on the use of scheduled tasks to execute the BAT batch file in Windows Server in a timed way, so that you can perform your own tasks on a timed basis.

First, Windows Server 2008 differs greatly from the other server operating systems and Windows Server 2003, where the name of the scheduled task is "Task Scheduler" not in Control Panel, but in "Administrative Tools".

because the server needs to do some tasks, timed execution, their own program bar, trouble, so the use of bat to replace the operation, a lot of people on the network say every minute to do how to configure, today we will configure.

Open Task Scheduler – click on "Task Scheduler Library" and in the right you will see "Create basic Task" and "Create task" in the action item:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4D/DE/wKioL1RbdC-QxKa-AANEcum0Rdc027.jpg "title=" 7.png " alt= "Wkiol1rbdc-qxka-aanecum0rdc027.jpg"/>


After clicking "Create Task": fill in the appropriate name and check the necessary conditions

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4D/DE/wKioL1RbdHuQQ6b3AAIABAz5lfc482.jpg "title=" 8.png " alt= "Wkiol1rbdhuqq6b3aaiabaz5lfc482.jpg"/>


Select the "Trigger" option, click "New", create the task execution time, is hourly, or each point, you can choose to modify the time, and then determine.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4D/DF/wKiom1RbdPGgOt2PAAJNUMD8W4s312.jpg "title=" 9.png " alt= "Wkiom1rbdpggot2paajnumd8w4s312.jpg"/>


again to configure the need to perform the "action" is to select the program or BAT file, where the important configuration is to select the bat file, in the "Start from (optional)" Here must fill in the corresponding execution program or BAT file in the directory, or the execution is unsuccessful.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4D/DF/wKioL1RbdkfBTYuaAAG2UpIS3OI573.jpg "title=" 10.png "alt=" Wkiol1rbdkfbtyuaaag2upis3oi573.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4D/E0/wKiom1RbdjOBzmbmAAIMZF65ABY288.jpg "title=" 11.png "alt=" Wkiom1rbdjobzmbmaaimzf65aby288.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4D/E0/wKiom1RbdlqAa0sUAAH4m_ZPBCY810.jpg "title=" 13.png "alt=" Wkiom1rbdlqaa0suaah4m_zpbcy810.jpg "/>


Once added, the added scheduled tasks appear in the list bar.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4D/DF/wKioL1RbdvvzOs11AALs-4nvYoA936.jpg "title=" 12.png "alt=" Wkiol1rbdvvzos11aals-4nvyoa936.jpg "/>


This article is from "Operation and maintenance record Mei Ling" blog, please be sure to keep this source http://meiling.blog.51cto.com/6220221/1573854

Use Scheduled Tasks in Windows Server 2008 to perform a bat batch file in a timed and graphical tutorial

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.