How to disconnect Client sessions every nights

Someone knows how to scheduled a task to disconnect/kill Active Role server user sessions on a daily basis ?