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.
The 2025 SAS Hackathon has begun!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.