Define Script

markybee777

Active Newcomer
Joined
Nov 28, 2010
Messages
36
Reaction score
0
Points
0
I have created a simple Script that check the backups of 3 Client servers.

My question is how can I set this script to run daily @ 09:00am and e-mail the output?
 
try with "help define script" and then "help define schedule".
If you have ISC\TIP, you can do it trough web based wizard.
 
define the script as you like it and then define a admin schedule with the command "run <name_of_your_script". remember to activate the schedule as far as i know the default is "active=no".
 
define the script as you like it and then define a admin schedule with the command "run <name_of_your_script". remember to activate the schedule as far as i know the default is "active=no".

Ok so my Script is called TSMCRITICAL - how would the command look?
 
define schedule tsmscritical t=a startt=03:00 active=yes cmd="run tsmcrtical"
"e-mail the output" ????? where are you from ;-)
if you are on a *ix-system you can run something like this from the crontab
/usr/bin/dsmadmc -id=youradmin -pa=yourpassword "run tsmcritical" > /tmp/tsmcrt.out
cat /tmp/tsmcrt.out|mail [email protected] (or directly mail the output).
 
define schedule tsmscritical t=a startt=03:00 active=yes cmd="run tsmcrtical"
"e-mail the output" ????? where are you from ;-)
if you are on a *ix-system you can run something like this from the crontab
/usr/bin/dsmadmc -id=youradmin -pa=yourpassword "run tsmcritical" > /tmp/tsmcrt.out
cat /tmp/tsmcrt.out|mail [email protected] (or directly mail the output).

That Great Thanks a Bundle Padawan65
 
Back
Top