Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 22/12/2007, à 00:46

winux

[Rà‰SOLU] Arrêter shutdown programmé

Bonsoir

Je viens de lancer un sudo shutdown -h +120, mais je voudrais le réduire à  +60. Quand je le fais il me dit que shutdown déjà  programmé. comment puis-je arrêter le 1e pour programmer le second.

Merci pour vos conseils

@+

Dernière modification par winux (Le 22/12/2007, à 01:21)


http://i3.tinypic.com/4g8nio8.png
Livebox fibre - 980 Mbps mesurés -  Triple  boot : Ub 20.04 / Mint 20.2 / W10 - Ecran : Samsung 22" -
CM : Gigabyte P67A UD3 B3 - CPU : Intel Quad Core i5 3.3 GHz - GPU : nVidia Gigabyte N430
RAM : 8 Go DDR3 - SSD de 240 Go - 2 HD de 1 To chacun

Hors ligne

#2 Le 22/12/2007, à 00:51

Azael

Re : [Rà‰SOLU] Arrêter shutdown programmé

sudo shutdown -c


" Mieux vaut être fou parmi les fous que d'être sage et rester seul "
D. Diderot
Linux

Hors ligne

#3 Le 22/12/2007, à 00:53

brazzmonkey

Re : [Rà‰SOLU] Arrêter shutdown programmé

$ man shutdown
shutdown(8)                                                        shutdown(8)

NAME
       shutdown - bring the system down

SYNOPSIS
       shutdown [OPTION]... TIME [MESSAGE]

DESCRIPTION
       shutdown arranges for the system to be brought down in a safe way.  All
       logged-in users are notified that the system is going down and,  within
       the last five minutes of TIME, new logins are prevented.

       TIME  may  have  different  formats, the most common is simply the word
       ’now’ which will bring the system down immediately.  Other  valid  for‐
       mats  are  +m,  where m is the number of minutes to wait until shutting
       down and hh:mm which specifies the time on the 24hr clock.

       Once TIME has elapsed, shutdown sends a request to the  init(8)  daemon
       to bring the system down into the appropriate runlevel.

OPTIONS
       -r     Requests  that  the system be rebooted after it has been brought
              down.

       -h     Requests that the system be either halted or powered  off  after
              it has been brought down, with the choice as to which left up to
              the system.

       -H     Requests that the system be halted after  it  has  been  brought
              down.

       -P     Requests  that  the  system  be  powered  off  after it has been
              brought down.

       -c     Cancels a running shutdown.  TIME is  not  specified  with  this
              option, the first argument is MESSAGE.

       -k     Only  send  out  the warning messages and disable logins, do not
              actually bring the system down.

NOTES
       This tool is provided for compatibility with the traditional  System  V
       init(8).   Upstart  has  no  notion  of  runlevels itself, this and the
       telinit(8) tool are provided to emulate their behaviour.

       When invoked it generates a runlevel event, with an argument containing
       the new runlevel.

AUTHOR
       Written by Scott James Remnant.

REPORTING BUGS
       Report bugs at https://launchpad.net/products/upstart/+bugs

COPYRIGHT
       Copyright © 2007 Canonical Ltd.
       This is free software; see the source for copying conditions.  There is
       NO warranty; not even for MERCHANTABILITY or FITNESS FOR  A  PARTICULAR
       PURPOSE.

SEE ALSO
       init(8) telinit(8)

Upstart                           March 2007                       shutdown(8)

donc :

sudo shutdown -c

Hors ligne

#4 Le 22/12/2007, à 01:20

winux

Re : [Rà‰SOLU] Arrêter shutdown programmé

Merci à  Azael et brazzmonkey pour votre réponse identique ce qui est très bon signe wink .... d'une bonne réponse tongue !!!

Sujet très vite réglé, bonne nuit à  vous deux et encore merci smile


http://i3.tinypic.com/4g8nio8.png
Livebox fibre - 980 Mbps mesurés -  Triple  boot : Ub 20.04 / Mint 20.2 / W10 - Ecran : Samsung 22" -
CM : Gigabyte P67A UD3 B3 - CPU : Intel Quad Core i5 3.3 GHz - GPU : nVidia Gigabyte N430
RAM : 8 Go DDR3 - SSD de 240 Go - 2 HD de 1 To chacun

Hors ligne