Re: [foxboro] Script from IND block





On 09/22/2003 LQE wrote:

      Hi,
            Anybody know the method for run the script from IND Block
(similar to DMCMD)?

            For Example,

            IF (RO0001 = 1) THEN
                  :AWNT01 ?????????    ;  (this is the command line -
Script.sh or explorer.exe)
            ENDIF;
      Thanks
      LQE



I had success with the following.

:APLBUGDMCMD := "applic nohup /usr/custom/myscript.sh >/dev/null 2>&1";
Wait 10;

Note APLBUG is the letterbug of the AW where the script resides, and the
wait time (in seconds) is a reasonable length of time.

      -Regards, Brian.



 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: