/srv/irclogs.ubuntu.com/2019/03/25/#ubuntu-de.txt

indy73cHallo zusammen, ich wollte nur kurz bescheidgeben das fsck das HDD Problem beheben konnte, alles läuft wieder normal, es gab auch keinen Datenverlust11:43
indy73cdanke nochmal an alle für die gestriege Hilfe !!11:44
TheGreenich möchte einen regel mäßigen shutdown oder halt Befehl in mein crontab ein tragen mit einer zeit Wahrung. 16:06
TheGreenkann mir da m jemand helfen ich hab da wenig übung mit16:07
TheGreenbitte16:07
ppqTheGreen, hier ist ein link, wo jemand genau das mit cron machen möchte: https://askubuntu.com/questions/567955/automatic-shutdown-at-specified-times16:09
le_botTitle: cron - Automatic shutdown at specified times? - Ask Ubuntu (at askubuntu.com)16:09
ppqdieses format, mit der angabe "root", funktioniert aber nur für die globale crontab /etc/crontab16:10
ppqTheGreen, was meinst du mit "zeit Wahrung"?16:12
TheGreenich möchte das cron mir sagt in zb 10 minuten  fährt der rechner runter16:14
ppqdann einfach den befehl abändern zu:   shutdown -h +10 "Warnung: Rechner fährt in 10 Minuten runter"16:15
ppqdann fährt der rechner 10 minuten nach der zeit runter, die du in der crontab am anfang spezifizierst16:16
ppqalso 23:40 im beispiel16:16
TheGreensuper danke für die schnelle hilfe16:16
TheGreenab hier komm ich klar16:17
TheGreentrage ich den befhel als sudo ein?16:17
ppqnein16:18
ppqwenn du die /etc/crontab benutzt, was empfehlenswert ist, gibt es stattdessen die angabe des users direkt16:18
ppqdaher das wort "root" im beispiel vor dem shutdown-befehl16:18
ppqsiehe 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
ppqhuch, das war doppelt16:22
TheGreenok danke16:35
ppqkeine ursache :)16:36
=== sera is now known as Guest93634

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!