.KSH script running on AIX for cloverfleaf

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf .KSH script running on AIX for cloverfleaf

  • Creator
    Topic
  • #49144
    Hongle Sun
    Participant

      Hello, I Have ksh script, what should i do in order to make this script to be called in Alert action tab, can i put this script in tclproc fold? Thanks

    Viewing 2 reply threads
    • Author
      Replies
      • #60883
        Robert Gordon
        Participant

          You can run a KSH script from anywhere, best to create a directory and include the path in the HCI .profile or use /usr/local/bin depending on you flavor of unices or system for windoze.  Under and alert choose exec under action and type the path to the script.  A sample would look like this:

          /usr/local/bin/emailme -i myself -m “pharm_out is down” -host mymailserver.hospital.org

          This proc has arguments which can be passed and what would display in the gui is:

          {exec {/usr/local/bin/emailme -i myself -m “pharm_out is down” -host mymailserver.hospital.org} }

          Hope this quenches your mental appetite

        • #60884
          Hongle Sun
          Participant

            Thanks, our Cloverleaf running on AIX 5.2, where can i find the profile file?

            Thanks

          • #60885
            Gary Atkinson
            Participant

              .profile should be in your home directory.

          Viewing 2 reply threads
          • The forum ‘Cloverleaf’ is closed to new topics and replies.