HOWTO: Run a WSH File from NT SchedulerID: Q191430
|
A script using Windows Script Host 1.0 can be executed on a scheduled basis from Windows NT's scheduler. This is useful for system administrators to run unattended tasks.
The Windows NT AT command invokes the scheduler.
Here is an example of the command to execute a WSH script at 16:00:
AT 16:00:00 /interactive "c:\winnt\samples\wsh\excel.vbs"
The winnt\samples\wsh directory is installed with WSH.
For more information about Windows Script Host, see the following Web site:
http://msdn.microsoft.com/scripting/default.htm?/scripting/windowshost/
Additional query words: kbWSH
Keywords : kbScript
Version : WINDOWS:1.0
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: July 14, 1999