indy73c | Hallo zusammen, ich wollte nur kurz bescheidgeben das fsck das HDD Problem beheben konnte, alles läuft wieder normal, es gab auch keinen Datenverlust | 11:43 |
---|---|---|
indy73c | danke nochmal an alle für die gestriege Hilfe !! | 11:44 |
TheGreen | ich möchte einen regel mäßigen shutdown oder halt Befehl in mein crontab ein tragen mit einer zeit Wahrung. | 16:06 |
TheGreen | kann mir da m jemand helfen ich hab da wenig übung mit | 16:07 |
TheGreen | bitte | 16:07 |
ppq | TheGreen, hier ist ein link, wo jemand genau das mit cron machen möchte: https://askubuntu.com/questions/567955/automatic-shutdown-at-specified-times | 16:09 |
le_bot | Title: cron - Automatic shutdown at specified times? - Ask Ubuntu (at askubuntu.com) | 16:09 |
ppq | dieses format, mit der angabe "root", funktioniert aber nur für die globale crontab /etc/crontab | 16:10 |
ppq | TheGreen, was meinst du mit "zeit Wahrung"? | 16:12 |
TheGreen | ich möchte das cron mir sagt in zb 10 minuten fährt der rechner runter | 16:14 |
ppq | dann einfach den befehl abändern zu: shutdown -h +10 "Warnung: Rechner fährt in 10 Minuten runter" | 16:15 |
ppq | dann fährt der rechner 10 minuten nach der zeit runter, die du in der crontab am anfang spezifizierst | 16:16 |
ppq | also 23:40 im beispiel | 16:16 |
TheGreen | super danke für die schnelle hilfe | 16:16 |
TheGreen | ab hier komm ich klar | 16:17 |
TheGreen | trage ich den befhel als sudo ein? | 16:17 |
ppq | nein | 16:18 |
ppq | wenn du die /etc/crontab benutzt, was empfehlenswert ist, gibt es stattdessen die angabe des users direkt | 16:18 |
ppq | daher das wort "root" im beispiel vor dem shutdown-befehl | 16:18 |
ppq | siehe auch "man 5 crontab" | 16:21 |
ppq | "EXAMPLE SYSTEM CRON FILE The following lists the content of a regular system-wide crontab file. Unlinke a user's crontab, this file has the username field, as used by /etc/crontab.EXAMPLE SYSTEM CRON FILE The following lists the content of a regular system-wide crontab file. Unlinke a user's crontab, this file has the username field, as used by /etc/crontab. | 16:22 |
ppq | huch, das war doppelt | 16:22 |
TheGreen | ok danke | 16:35 |
ppq | keine ursache :) | 16:36 |
=== sera is now known as Guest93634 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!