What version of Spectrum are you on? There is a scheduling feature for Discovery already. No reason to execute a CLI command to do that.
Kevin Hain Wyeth Pharmaceuticals Sr. Enterprise Monitoring Engineer Tel: 484-563-6440 [email protected] >>> On 5/16/2009 at 12:20 AM, <[email protected]> wrote: Hi, Yes i want discovery to run automatically at a defined time once in week. No i do not have any seed file.. With Regards, Unicenter Support Wipro Infotech TEL: +91-22-3096-7043/7391 From: "Nikhil Mehra" <[email protected]> To: "spectrum" <[email protected]> Date: 16-05-09 09:46 AM Subject: RE: [spectrum] Scheduling a CLI Script What exactly are you trying to do? Do you want discovery to run automatically at a defined time (once in day and once in week)? What would be your feed (do you have any seed fileetc) Please clarify. From: [email protected] [mailto:[email protected]] Sent: Saturday, May 16, 2009 12:13 AM To: spectrum Cc: spectrum Subject: Re: [spectrum] Scheduling a CLI Script Hi, Can some body tell me how to i create auto discovery script in spectrum to auto discover elements . With Regards, Anil Rajput Unicenter Support Wipro Infotech TEL: +91-22-3096-7043/7391 From:[email protected]:"spectrum" <[email protected]> Cc:"spectrum" <[email protected]>Date:15-05-09 08:19 PMSubject:Re: [spectrum] Scheduling a CLI Script 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] the body: unsubscribe spectrum [email protected] --To unsubscribe from spectrum, send email to [email protected] the body: unsubscribe spectrum [email protected] --To unsubscribe from spectrum, send email to [email protected] the body: unsubscribe spectrum [email protected] --To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected] --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
