ControlPlane icon indicating copy to clipboard operation
ControlPlane copied to clipboard

ability to re-execute on schedule o timer

Open ssbarnea opened this issue 7 years ago • 2 comments

I do have a shell script that is refreshing the kerberos tokens and works well as I triggered its execution to the network change detection.

Now, after having a really long uptime on the VPN, I realised that there is no way to refresh the token using ControlPlane if the network is not changes.

The token is valid for 8 hours so I need to be able to re-run the same script even if the network did not change. How can I do this?

ssbarnea avatar Nov 08 '16 09:11 ssbarnea

Unfortunately ControlPlane doesn't have a timer evidence source but you can create a few time of day entries that will fire off your script. IMO the best way to do this is to enable multiple active contexts so the context that fires off your script can act independently of the others. You can still create rules that run the script based on if you are connected to the VPN AND the it's time to renew the token.

dustinrue avatar Nov 09 '16 14:11 dustinrue

@dustinrue I am still hoping to find a way to address this limitation because I don't want to hide the scheduler logic somewhere else. Now my VPN is persistent but not my Kerberos ticket which expires every 8h hours, so the only way to assure that this is updated is to schedule its refresh.

ssbarnea avatar Mar 23 '17 10:03 ssbarnea