script to restart some site process

Homepage Clovertech Forums Cloverleaf script to restart some site process

  • Creator
    Topic
  • #120850
    petitPadawan
    Participant
    Hello,
    I want to create a script to restart the processes in my list,
    the processes stop, but do not restart,
    I have no error in the order invitation,
    Do I have an error in my code?
    Thanks
    set list_process_1=ADT_PROCESS_1 ADT_PROCESS_2
    for %%P in (%list_process_1%) do (
    setsite %%A
    call hcienginestop -p %%P
    timeout 4
    call hcilmclear -p %%P
    timeout 4
    setsite %%A
    call hcienginerun -p %%P
    )
Viewing 1 reply thread
  • Author
    Replies
    • #120868
      petitPadawan
      Participant

      hello, does anyone have a script to restart some processes? mine doesn’t work, it shuts down but won’t restart.

    • #120870
      Robert Kersemakers
      Participant

      Attached is a script we use to restart all processes in different sites. Could be fancier, but this works for us. There is a 15 second delay between the restart of each process, so one process has time to start before the next process is restarted.

      We are running CL19.1 on RedHat8, so not sure if you can use these Linux scripts.
      Uploaded as .txt file.

      Attachments:
      You must be logged in to view attached files.

      Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

Viewing 1 reply thread
  • You must be logged in to reply to this topic.

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,292
Replies
34,435
Topic Tags
286
Empty Topic Tags
10