logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
al dente  
#1 Posted : Wednesday, December 6, 2017 11:59:25 AM(UTC)
al dente


Rank: Guest

Joined: 10/14/2016(UTC)
Posts: 6
Denmark
Location: Hoerning

Thanks: 1 times
is it possible to script an auto delete on alle connections under access that are older then XX days and are members of a specific session group?
Scott  
#2 Posted : Monday, December 11, 2017 12:44:38 PM(UTC)
Scott


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 3/28/2014(UTC)
Posts: 2,514
United States

Thanks: 3 times
Was thanked: 305 time(s) in 262 post(s)
So yes this is technically possible but there are a number of caveats.

First off, you can easily create a web service which contains a method that Ends all sessions based upon given criteria. For more information upon this I recommend checking out the KB here.

The problems with implementing this arise with how this method must be invoked. At the moment there isn't anything within ConnectWise Control that can automatically invoke a function at a specific time. This means that you would need to use a separate cronjob/scheduled task/whatever to invoke the webservice method whenever you desire. If you create an extension to perform the session End(s), the script would be as simple as a curl (or webrequest) to the extension's method, similar to:

Code:

curl http://your.screenconnect.com:8040/App_Extensions/EXTENSION_ID/Service.ashx/WEBSERVICE_METHOD_NAME_HERE
ScreenConnect Team
al dente  
#3 Posted : Monday, December 11, 2017 12:50:29 PM(UTC)
al dente


Rank: Guest

Joined: 10/14/2016(UTC)
Posts: 6
Denmark
Location: Hoerning

Thanks: 1 times
Thanks alot for your reply,

I will try and see if we can't make a solution based on this.

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.