Learning the Terminal in Jaguar, Part 1
Subject:   shutdown and restart
Date:   2003-01-19 07:54:37
From:   anonymous2
hi chris!

is it possible to create a (crontab?)-script that brings back the "scheduled shutdown, restart"-function from OS 9 to MacOS X Server (10.2) ?!
please donīt link me to such alternatives like "EnergyX" or "Kudown" which can be downloaded on the versiontracker homepage.


Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • shutdown and restart
    2003-12-11 08:31:39  anonymous2 [View]

    for scheduled shutdown yes (I have only done this using 10.2.8, not the server version but I'm assuming it is the same). edit the crontab file with this as an entry:
    30<tab>17<tab>*<tab>*<tab>*<tab>root<tab>/sbin/shutdown -h now

    (that should all be on one line, and you can change 30 and 17 to whatever time you want, in 24hour time) hope this helps!
    -this is not chris