Kann man Debian Etch mit einem cronjob , also crontab -e
zu einer bestimmten Zeit runterfahren? ein init 0 in crontab
Mit Suse 10.0 geht es wohl nicht, es wird nur eine Mail an
Root geschickt.
Linux 15.070 Themen, 107.540 Beiträge
Kann man ... mit einem cronjob , ... bestimmten Zeit ...?
Der cron Dämon ist ein Programm welches im Hintergrund läuft und zu angegebenen Zeiten andere Programme ausführt
Anleitung: http://www.linux-fuer-alle.de/doc_show.php?docid=45
Mit Suse 10.0 geht es wohl nicht, es wird nur eine Mail an Root geschickt.
Schon mit # /sbin/init 0 oder alternativ mit # /sbin/shutdown -h "now" versucht?
d-oli
PS: Voraussetzung um init bzw. shutdown auszuführen sind root-Rechte.
PPS: Aszug aus # man 5 crontab
The format of a cron command is very much the V7 standard, with a number of upward-compatible extensions. Each line has five time and date fields, followed by a user name if this is the system crontab file, followed by a command. Commands are executed by cron(8) when the minute, hour, and month of year fields match the current time, and at least one of the two day fields (day of month, or day of week) match the current time (see ''Note'' below). Note that this means that non-existent times, such as "missing hours" during daylight savings conversion, will never match, causing jobs scheduled during the "missing times" not to be run. Similarly, times that occur more than once (again, during daylight savings conversion) will cause matching jobs to be run twice.
Der cron Dämon ist ein Programm welches im Hintergrund läuft und zu angegebenen Zeiten andere Programme ausführt
Anleitung: http://www.linux-fuer-alle.de/doc_show.php?docid=45
Mit Suse 10.0 geht es wohl nicht, es wird nur eine Mail an Root geschickt.
Schon mit # /sbin/init 0 oder alternativ mit # /sbin/shutdown -h "now" versucht?
d-oli
PS: Voraussetzung um init bzw. shutdown auszuführen sind root-Rechte.
PPS: Aszug aus # man 5 crontab
The format of a cron command is very much the V7 standard, with a number of upward-compatible extensions. Each line has five time and date fields, followed by a user name if this is the system crontab file, followed by a command. Commands are executed by cron(8) when the minute, hour, and month of year fields match the current time, and at least one of the two day fields (day of month, or day of week) match the current time (see ''Note'' below). Note that this means that non-existent times, such as "missing hours" during daylight savings conversion, will never match, causing jobs scheduled during the "missing times" not to be run. Similarly, times that occur more than once (again, during daylight savings conversion) will cause matching jobs to be run twice.
Danke für den Link und die schnelle Antwort , werde es mal testen.
