Question Locked

shutdown linux automatically?

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi all,
I am a tech at a small library. We have been using Windows forever and I am looking to add Linux to the mix. The one thing that I need to do is to find a way to shutdown the computers at (actually just before) closing time. I know that I could add shutdown -h "now" in crontab at the specified time, problem is we need to display a message telling our patrons that the computers will be powering off and to give them time to save anything they may have in progress. I am open to suggestions.
TIA
Dan

2 replies

by absolutely

You can use crontabs to send shell commands to activate programs as well as to perform system tasks. For example, a crontab can activate a text editor and a specified text file. Schedule that x minutes before 'shutdown -h now', and your clients should know that their computers will shut down with enough time to save their work.

This discussion is closed to new replies.