Berry van Sleeuwen wrote:
When I issue a CP SIGNAL I must specify the time with the within option.
Instead of a REXX exec sending CP SIGNAL you have two alternatives, methinks:

  1.  You could access the SMAPI function Image_Deactivate via PigIron
     <http://pigiron.sourceforge.net>
         * E.g., in PigIron's test cases it reads CALL testing
           'ImageDeactivate' my.host my.port my.userid my.password
           my.custom.imagedeactivate.targetid
           my.custom.imagedeactivate.forcetime
  2. You could issue the command on some Linux system or image:
         * ssh [EMAIL PROTECTED] shutdown -hp now
               * You'd want to have an id_dsa.pub in place already on
                 the target so you don't need to issue a password

I think the SMAPI functionality in 5.3 and 5.4 is a cleaner way to build up a library of local tools aimed at /mass administration/. That's what it's there for, and now with PigIron, you can access it
from your PC.

--
Jack J. Woehr            # "Self-delusion is
http://www.well.com/~jax #  half the battle!"
http://www.softwoehr.com #  - Zippy the Pinhead

Reply via email to