Create a .bat file that will run what you need to from the windows command 
shell and schedule that in scheduled tasks.
I have implemented the following as a .bat file that I schedule in 
scheduled tasks to run periodically. Works well for us;


@echo on

REM
REM ===============================================
REM run PatchwaveImport script version 1.0  5/15/09 BT
REM     with AssetDescription update
REM ===============================================
REM

REM  run d:\SPECTRUM\VNMSH\PatchwaveImportUpdate in a bash shell
REM

%SPECROOT%/NT-Tools/SRE/bin/bash.exe -login 
%SPECROOT%/VNMSH/PatchwaveImportUpdate
wait 30
exit



Bob Teal
Enterprise Monitoring Solutions




"jwills" <[email protected]> 
05/15/2009 09:56 AM
Please respond to
"jwills" <[email protected]>


To
"spectrum" <[email protected]>
cc

Subject
[spectrum] Scheduling a CLI Script






I've created a cli script to email the contents of a global collection 
(i.e. all currently down routers), but can't figure out how to schedule 
this script to run at a regular interval. 

Any help would be appreciated.

Spec9.1 (distributed)
Win2k3

---
To unsubscribe from spectrum, send email to [email protected] with the 
body: unsubscribe spectrum [email protected]





*************
CONFIDENTIALITY NOTICE: This e-mail and the transmitted documents contain 
private, privileged and confidential information belonging to the sender.  The 
information therein is solely for the use of the addressee.  If your receipt of 
this transmission has occurred as the result of an error, please immediately 
notify us so we can arrange for the return of the documents.  In such 
circumstances, you are advised that you may not disclose, copy, distribute or 
take any other action in reliance on the information transmitted.

---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to