Windows Server 2008 Scheduled Task configuration (Task Scheduler) executes bat every minute

Source: Internet
Author: User

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:

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

Select the "Trigger" option, click "New", create task Execution time, "Repeat task Interval" after the choice, there is time to choose, is hourly, or every minute, you can choose to modify the time , and then determine.

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

Special note: I almost cheated, think that Windows scheduled task is not accurate to the minute level, mainly see "repeat Interval (P)" to the right there is no "1 minutes" option, as shown in:

In fact, it can manually modify the time value in addition to the drop-down selection, such as "1 minutes" above!!!

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

Windows Server 2008 Scheduled Task configuration (Task Scheduler) executes bat every minute

Related Article

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.