Fórum Ubuntu CZ/SK
Ostatní => Archiv => Téma založeno: Luke 23 Září 2006, 02:49:29
-
Zdravim, potřeboval bych nějaký příkaz nebo program, který by mi vypnul počítač po odpočítání nastaveného času (e.g. po půl hodině). Jak na to?
-
shutdown -h +30
man shutdown:
...
The time argument can have different formats. First, it can be an
absolute time in the format hh:mm, in which hh is the hour (1 or 2 dig‐
its) and mm is the minute of the hour (in two digits). Second, it can
be in the format +m, in which m is the number of minutes to wait. The
word now is an alias for +0.
...
-
Jen malý dodatek: musíš být root nebo pomocí sudo
sudo shutdown -h +30Zrusíš spuštěné odpočítávání pomocí ctrl + c.
-
Nebo pro KDE je utilitka Kshutdown.
-
skvely chlapci, dikes
(vyreseno)