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.
2025 SAS Hackathon: There is still time!
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!