I'd appreciate a primer or a pointer to one about disabling new logins
and closing active connections. We have a process that requires
everyone to be logged out and sometimes people forget, and we would like
to be able, maybe via CRON, to disable new logins (which I know how to
do) and also close current connections (which I don't know how to do).