Perform a program at a specific time

xiaoxiao2021-03-06  49

Method 1: Use Windows planning tasks, such as the address of the ASP web page, http: //localhost/nncc2new/refresh.asp 'Save the following code is do.vbs, execute DO.VBS in the planned task

DIM IE set ie = creteObject ("InternetExplorer.Application") 'Run your ASP file IE.naVigate ("http://localhost/nncc2new/refresh.asp")

IE.Visible = 1 'If you want to make the web page that is not visible, set it to 0' Clean Up ... set e = nothing method 2: Simulate a clock with settimout in client code