Posted: Sun Feb 22, 2009 12:50 am Post subject: multiporcess monitor
I am using servdoc for voip appilication for windows. I have a monitor software that check on h323 port its proccess "A". The voip application is running process "B". Is it possible when process "A" Stops then servdoc will restart both process A and B.
Since process A stops mean the voip application crashes. We have tested servdoc on voip appilication, but the crash seems to be an sql error rather than application closes with VB error.
Posted: Sun Feb 22, 2009 3:35 am Post subject: Re: multiporcess monitor
You could make process "B" a "slave" serverdoc.
SD Update Thread wrote:
Added ability to stop/start other serverdoc "slaves"
scheduled event 98 98 98 00 xx is run when server starts
scheduled event 98 98 98 01 xx is run when server stops/crashes
(value of xx is 0 to 99)
example: I have two serverdocs running and my config folders are c:\serverdoc\master\ and c:\serverdoc\slave\
If I wanted start the slave serverdoc when master one starts its server I would create the following file - c:\serverdoc\master\schedule.txt
98 98 98 00 00 sdcmdstart c:\serverdoc\slave\
98 98 98 01 00 sdcmdstop c:\serverdoc\slave\
If I wanted the slave serverdoc to stop when the master starts and start when the master stops I would use
98 98 98 00 00 sdcmdstop c:\serverdoc\slave\
98 98 98 01 00 sdcmdstart c:\serverdoc\slave\
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum