Need script to cycle process after last read.

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Need script to cycle process after last read.

  • Creator
    Topic
  • #52977
    APACHE Support
    Participant

      We are working with a VPN connection that is timing out, and we need to get a script that will cycle the process on the last read to keep the connection up and running.

    Viewing 0 reply threads
    • Author
      Replies
      • #76143
        James Cobane
        Participant

          The easiest solution is to simply configure a last read alert with an exec action, and simply execute the hci command to cycle the process (or thread); i.e.

          To cycle the process:

          hcienginestop -p myprocess;hcienginerun -p myprocess

          To cycle the thread:

          hcicmd -p myprocess -c ‘mythread pstop’;hcicmd -p myprocess -c ‘mythread pstart’

          Hope this helps.

          Jim Cobane

          Henry Ford Health

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