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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create a Scheduled Task

Status
Not open for further replies.

GeoDM

Technical User
Dec 16, 2003
66
US
I have a script that creates a scheduled Task:

Set ObjShell = CreateObject("WScript.Shell")
objShell.run "AT 3:00 c:\temp\Mail21.vbs"
Set ObjShell = nothing

What I would like to do is to have it scheduled to run 21 days later. In unix you can just use 3:00 + 21 but that obviously wont work here. Any suggestions?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top