If you want to kill all active user sessions, then you can just restart SAS Services, why do you need a custom script? you can schedule to execute the start/stop of services depending on which OS you are running SAS on, Like cron in unx or OS scheduler in win.
I am trying to find a way, how to kill user sessions in CI automatically (without having to restart whole SAS MA), now we are killing them manually in Administration/User Sessions.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Registration is open
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss. Register now and lock in 2025 pricing—just $495!