Re: [foxboro] Script from IND block

just use  :APLBUGDMCMD := "dmcmd applic nohup /usr/custom/myscript.sh
>/dev/null 2>&1";




                                                                                
                                                       
                      Brian Bates                                               
                                                       
                      <batesb@xxxxxxxxx        To:       foxboro@xxxxxxxxxxxxx  
                                                       
                      om>                      cc:                              
                                                       
                      Sent by:                 Subject:  Re: [foxboro] Script 
from IND block                                           
                      foxboro-bounce@fr                                         
                                                       
                      eelists.org                                               
                                                       
                                                                                
                                                       
                                                                                
                                                       
                      23/09/03 15:52                                            
                                                       
                      Please respond to                                         
                                                       
                      foxboro                                                   
                                                       
                                                                                
                                                       
                                                                                
                                                       









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







This communication is for use by the intended recipient and contains 
information that may be privileged, confidential or copyrighted under
applicable law.  If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited.  Please notify the sender
by return e-mail and delete this e-mail from your system.  Unless
explicitly and conspicuously designated as "E-Contract Intended",
this e-mail does not constitute a contract offer, a contract amendment,
or an acceptance of a contract offer.  This e-mail does not constitute
a consent to the use of sender's contact information for direct marketing
purposes or for transfers of data to third parties.

 Francais Deutsch Italiano  Espanol  Portugues  Japanese  Chinese  Korean

            http://www.DuPont.com/corp/email_disclaimer.html


 
 
_______________________________________________________________________
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: