Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. bajjer31

    How to trigger control-M scheduler from linux, help ?

    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...
  2. bajjer31

    How to trigger control-M scheduler from linux, help ?

    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
  3. bajjer31

    using "for" & multiple commands inside of ssh in script

    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 \"---...
  4. bajjer31

    using "for" & multiple commands inside of ssh in script

    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...
  5. bajjer31

    using "for" & multiple commands inside of ssh in script

    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...

Part and Inventory Search

Back
Top