Linux Index |
Auto-shutdownSuppose you want to shutdown your computer automatically at a fix time every day, let's say around 5 o'clock. But if somebody is working on the computer at this time it would be polite to ask him if he wishes to delay the auto-shutdown. The tcl script shutdown.tcl will start a count-down of 15 minutes at 5 o'clock. If there is no user reaction in this time, a external program is called to execute shutdown. On a Unix platform, this external program will be "/sbin/shutdown" and on a Windows platform, this external program will be "C:/shutdown/shutdown.exe". If you use a Windows platform, the steps to be followed are:
|