I'm pretty new, too, but I'm learning :) You can find all the documentation you can handle on the BMC site. Scroll down for the Control-M stuff:
http://www.bmc.com/supportu/hou_Support_AZ_List/#C
The best ones are:
CONTROL-M/Enterprise Manager
CONTROL-M/Server for *
CONTROL-M/Desktop...
I believe you can create a Control M job with the following as a command:
CTMFW /path/to/filename
This will watch for filename in /path/to on the server you have it pointing to. Then this job could be setup as an in condition to JobB.
HTH,
Bill
Thanks for all the tips. I ended up just forgoing the 'for' process and spelling it out...it makes for a longer script, but it works!
[code]
# ssh to 2ndserver
/usr/bin/ssh -l username 2ndserver "
echo \"--- Processing sa$mon ---\";
sar -uf /var/adm/sa/sa$mon > /tmp/bill.$mon;
echo \"---...
The user inputs a 2 digit number corresponding to the date (today is 21). So, it traps the numbers in the top of the script and uses them just fine in the first "for" expression. Then I ssh in to box2, and the only variable it reads in the "for" expression is the last one (for $sun). The rest...
Forgive my newness...I am composing a small script to execute multiple times on several boxes. The local box works fine, but when it ssh's into box2, the "for" command doesn't work...it's only pulling the last date ($sun).
#!/bin/bash
# This will ask for input on which sa.* files you want to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.