Automatically running a script at intervals

Sorry if this is a simple question, but I have wracked my brains all day.

And I have parsed this forum and the docs at docs.sun.com.

Details: Running SMC 3.5u1

I have a simple 'sh' script that performs some actions and returns zero (0)

for success and minus one (-1) on failure. I have managed to add it

to Script Repository and Script Launcher and can run it via "Launch Start"

in Script Launcher.

What I would like for it to do is run once or twice each day, automagically,

without operator intervention. Believe it or not I have not figured out how

to do this. Any pointers, suggestions would be appreciated.

Thanx in advance,

Tony

[709 byte] By [tonygi] at [2007-11-26 5:59:44]
# 1
Have you checked SysRM guide available at http://docs.sun.com/app/docs/doc/816-7415?q=+Sun+Management+Center++User+Guide
VivekBJoshi at 2007-7-6 13:19:48 > top of Java-index,Administration Tools,Sun Management Center...
# 2

Hi Tony,

What you want to do would be a lot easier with the "ScriptRunner" module. It's made to run scripts at intervals (or on-demand) and parse the stdout as if it was a log (i.e. you can look for words that the script wrote out). It will also alarm on return codes:

http://www.halcyoninc.com/products/ScriptRunner/index.php

Note: I work for the company that makes it... but IMHO it really is better than Script Launcher for what you've described you want to do.

Regards,

Mike

mike.kirk@halcyoninc.com

Aronek at 2007-7-6 13:19:48 > top of Java-index,Administration Tools,Sun Management Center...