Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to set schedule for *.vbs

Status
Not open for further replies.

hu68

Technical User
Feb 19, 2002
30
0
0
CA
Hi,there
I have a vbscript file I want it run every 50 minutes from 9:00 am
in windows command prompt I type in
at 9:00 am /every:50 cscript.exe c:\test.vbs
but it only run once ,I try to modify the property of it in scheduled task,without success.
could some one tell me how to set schedule for vbscript file?
Thanks for any reply!
 
On my scheduled tasks I have c:\winnt\system32\cscript.exe xx.vbs
And in the "Start in" line I have c:\ to provide the path. This provides the exact paths to use.
I've never used the command line syntax - only the scheduled tasks in W2k.
 
Hi,james
thank you for your suggestion.right now it works. but I still hava a small problem,every time when this task is running,a MSTask window pop up,Do you know how to make it dasappear?my setting is like:
RUN:C:\WINNT\system32\cscript.exe backuptest.vbs
start in C:(backuptest is in c drive)
Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top