I have carts of MacBooks which are not used often and thus not restarted often.
I'm looking for a solution where the computers can be gracefully restarted on a schedule (example 1x a week).
I have found this: https://raw.githubusercontent.com/UoE-macOS/jss/master/coreconfig-restart-reminder which is working and I have it scheduled at both login and recurring Check-in. It would be nice to have another option that say delay restart for x minutes and after that the computer does restart. This way if a user opens up the lid they are presented with a message that this will happen. These carts use one or two generic/shared accounts only.
Does anyone have suggestions?