Forum Discussion
JHDUKE
Altostratus
Mar 23, 2020How to disconnect all network access sessions a set time of day.
I've been searching for a way to kill all network access sessions at 2am each day and haven't been able to find the solution. I'd rather not use the 'max session timeout' on the access policy because I can't control when the session starts and can't afford to terminate it during business hours. Any help would be much appreciated!
- FF
Employee
You could potentially use the tmsh delete apm session all command in a cron script scheduled to run at 2am.
https://clouddocs.f5networks.net/cli/tmsh-reference/latest/modules/apm/apm_session.html
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects