Billet du soir...
By Geoffrey on Monday 15 March 2004, 23:10 - Geekeries - Permalink
ash@hyperion ash$ su - Password: root@hyperion root# at 0030 at> shutdown -h now at> <EOT> job 5 at 2004-03-16 00:30 root@hyperion root# atq 5 2004-03-16 00:30 a root root@hyperion root#
Quelques explications:
at est un utilitaire qui permet de planifier des taches (un peu comme cron). Je lance donc at, qui me propose une invite de commande pour saisir les commandes à lancer à l'heure que je lui ai spécifié (0030, 00h30 donc). La commande shutdown -h now éteind l'ordinateur. J'ai donc programmé l'extinction de mon ordinateur à 00h30. La commande atq (at queue) liste les planifications actives.
Comments
passionnant !