delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 2 Sep 2011 11:20:24 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: shutdown doesn't do anything, winXP |
Message-ID: | <20110902092024.GC22172@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <4E5FD423 DOT 4090506 AT molconn DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <4E5FD423.4090506@molconn.com> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Sep 1 14:51, LMH wrote: > I have a bash script that runs rsync and I have been trying to add a > command to shutdown the computer after the backup has finished > running. > > I have added, > > shutdown -s now > > and also tried, > > shutdown -s 5 > shutdown -x now > shutdown -x 5 > > but the computer doesn't shut down. Running which shutdown gives me, > > /usr/bin/shutdown > > so I know its there. > > Any suggestions? Try the -f/--force option. Note that shutdown can succeed even if the machine won't actually shutdown. See, for instance, the remarks section on http://msdn.microsoft.com/en-us/library/aa376874%28v=vs.85%29.aspx Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |