Page 1 of 1

Viscosity Task Scheduler Commands

Posted: Fri Sep 29, 2017 6:25 pm
by bobby_holla
Hi, I did set Viscosity Client to run through Task Scheduler which works perfect with no issue. but i need help with a command line to add under the argument or start in section that will trigger a certain action to Viscosity with event logs that was generated from event viewer
Example. when my connection interrupts and Viscosity fails to reconnect i need a command that will trigger an event to ensure that viscosity is connected to my server. hope am well understood?

Re: Viscosity Task Scheduler Commands

Posted: Tue Oct 03, 2017 8:21 am
by Eric
Hi bobby_holla,

I'm afraid Viscosity has nothing built in that will be able to trigger events like this. You would need to make a script that asks Viscosity on the status of a connection every minute for example and then generate the event yourself.

Regards,
Eric

Re: Viscosity Task Scheduler Commands

Posted: Tue Oct 03, 2017 9:21 am
by bobby_holla
Ok i get it. i can generate events ID myself, but can you help with me a command scripts that will run repeatedly to reconnect if my network disconnects and Viscosity fails to reconnect. and a script that will trigger each time i connect to a wifi and whenever a network is available on my PC.

Re: Viscosity Task Scheduler Commands

Posted: Tue Oct 03, 2017 11:38 am
by Eric
Hi bobby_holla,

This isn't really something you can script. I believe Windows Task Scheduler has options to trigger a script or event when you connect to a network, you may wish to look there, otherwise you will need to develop a script or program that is constantly running to monitor your network, this isn't really something we can help you with as you'll need to know what you're doing and invest a decent amount of time developing and testing any method you use.

If Viscosity is failing to reconnect after a drop out, I recommend you check the log for why this is happening and try to fix the problem there rather than brute forcing a reconnect as you can create other problems doing so.

Regards,
eric

Re: Viscosity Task Scheduler Commands

Posted: Tue Oct 03, 2017 4:03 pm
by bobby_holla
Ok thank you for your support