Page 2 of 2

Close Service if programm is closed

Posted: Fri Oct 19, 2012 3:12 pm
by Oleg
is it possible to (de)activate network adapters?
I'm afraid no.

Close Service if programm is closed

Posted: Fri Oct 19, 2012 3:15 pm
by datroubler
What about starting the second task with the forst one and then close it if srvice is closed?

Close Service if programm is closed

Posted: Fri Oct 19, 2012 3:40 pm
by Oleg
What about starting the second task with the forst one and then close it if srvice is closed?
I'm afraid that I haven't understood you...
Why do you want to start both tasks together?

Close Service if programm is closed

Posted: Fri Oct 19, 2012 6:47 pm
by datroubler
Why do you want to start both tasks together?Yes this is I would like to do. But isn't the second task running all the time?

Close Service if programm is closed

Posted: Sat Oct 20, 2012 6:01 am
by Oleg
2-nd task do not running all the time. Most time it is in idle (stopped) status.
Executing time of the task less than 0.1 sec.
Trigger "Cyclic" will start the task periodically. The task will check process existence and do necessary operations (stop service or nothing)

Close Service if programm is closed

Posted: Sat Oct 20, 2012 9:08 am
by datroubler
Found a solution:Task 1 enables Task 2 and if vpnui.exe is not running anymare, the service is closed and task 2 is disabled.