MacOS – Any way to log off or close apps when time limits run out

automationmacosparental-controls

My kids use Steam to play games on the Mac. Each kid gets half an hour through parental controls time limit feature. However, it just locks their account and leaves the apps running. Steam can only have one instance running at a time on a single computer, so the second kid can't play on Steam after the first kid has got logged out, without me giving the first kids account some extra time, and then closing steam.

Is there a smarter way to do this? If the account was logged out at the end of the alloted time, the apps would close and no longer impact on other user accounts.

Best Answer

You can log out an account after so many minutes via the Security and Privacy preference:

Apple Icon > System Preferences > Security & Privacy > Advanced button and then set the Log out after minutes of inactivity to a low number. This closes all the Apps on my Mac and logs me off completely for more security.

enter image description here