when a process stop, execute this command

when a process stop, execute this command

Dears,

we have a process monitored on a remote server via SSH,
I need to send to the server a command (to restart this process) whenever this process stopped at any time , and Thank you 
              New to ADManager Plus?

                New to ADSelfService Plus?