Windows scheduled Batch File Execution

Source: Internet
Author: User


In windows, the scheduled execution of the batch file C: \> at -- help is invalid. The AT command is scheduled to run commands and programs on a specific date and time. To use the AT command, the scheduler service must be running. AT [\ computername] [[id] [/DELETE] |/DELETE [/YES] AT [\ computername] time [/INTERACTIVE] [/EVERY: date [,...] |/NEXT: date [,...] "command" www.2cto.com \ computername specifies the remote computer. If this parameter is omitted, the command is scheduled to run on the local computer. Id: id of the scheduled command. /Delete: delete a scheduled command. If the id is omitted, all scheduled commands on the computer will be deleted. /Yes is used together with the command to delete all jobs without further confirmation. Time specifies the time when the command is run. /Interactive allows a job to interact with the user desktop that was logged on at runtime. /Every: date [,...] runs a life order on a specified date every month or every week. If the date is omitted, the task runs on the current day of each month by default. /Next: date [,...] specifies to run the command on the next specified date (for example, next Thursday. If the date is omitted, the task runs on the current day of each month by default. "Command" is the Windows NT command or batch processing program to be run. Author Wang jichao

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.