Windows System configuration wget scheduled Task script _dos/bat

Source: Internet
Author: User

We all know wget in Linux, Unix under a very cool, under Windows to establish a scheduled task, timed request a url,wget advantage came. I try a few ways, either open the browser, or pop-up command line window, which is very annoying! Here's a better way to do this

1, download wget Windows version of the file http://users.ugent.be/~bpuype/wget/
2. Create a new VBE file that calls the bat file in this file
3, create a new bat file, use wget in this file
4, add the VBE to the planning task

VBE file

Copy Code code as follows:

Set Ws=wscript.createobject ("Wscript.Shell")
Ws.run "Xxx.bat/start", 0

BAT file

Copy Code code as follows:

D:\soft\wget.exe-O--Q-T 1 http://www.xxxx.com?xxx=xxx

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.