I have a lab full of Macs running 10.3.8. I need to shut them all down at night. Every night has a different time. I have users on these machines that just don't leave at closing.
Solution:
I will have a script that is basically "shutdown -h now", and run it from the cron tab. I also need some type of popup reminding people of closing at 20mins, 10mins, 5mins, and 1min.
Problems:
1. People may reboot the computer. I could shutdown the computer every minute for the next 10 minutes or so, until users get the idea. This is dirty, but it will work.
2. I use anacron. If the computer is already off, will the computer shutdown when it comes back off? Can anacron take over some cron scripts and not others?
3. In rare instances, I may need to stop the shutdown. Not all the lab monitors are terminal savvy, so I need an easy way to turn it off. I was thinking of writing a basic program that cron could run. One the last popup window there could be a password field to override shutdown, but I figured this could be forced quit pretty easily.
Anyone have an input or ideas?
Solution:
I will have a script that is basically "shutdown -h now", and run it from the cron tab. I also need some type of popup reminding people of closing at 20mins, 10mins, 5mins, and 1min.
Problems:
1. People may reboot the computer. I could shutdown the computer every minute for the next 10 minutes or so, until users get the idea. This is dirty, but it will work.
2. I use anacron. If the computer is already off, will the computer shutdown when it comes back off? Can anacron take over some cron scripts and not others?
3. In rare instances, I may need to stop the shutdown. Not all the lab monitors are terminal savvy, so I need an easy way to turn it off. I was thinking of writing a basic program that cron could run. One the last popup window there could be a password field to override shutdown, but I figured this could be forced quit pretty easily.
Anyone have an input or ideas?