Close Service if programm is closed

Discuss RoboTask here
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Close Service if programm is closed

Post by Oleg »

is it possible to (de)activate network adapters?
I'm afraid no.
datroubler
Posts: 9
Joined: Thu Oct 18, 2012 8:58 am

Close Service if programm is closed

Post by datroubler »

What about starting the second task with the forst one and then close it if srvice is closed?
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Close Service if programm is closed

Post 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?
datroubler
Posts: 9
Joined: Thu Oct 18, 2012 8:58 am

Close Service if programm is closed

Post 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?
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Close Service if programm is closed

Post 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)
datroubler
Posts: 9
Joined: Thu Oct 18, 2012 8:58 am

Close Service if programm is closed

Post 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.
Post Reply