X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=4.3 required=5.0	tests=AWL,BAYES_40,BOTNET,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-id: <4E60272D.90905@cygwin.com>
Date: Thu, 01 Sep 2011 20:45:33 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: shutdown doesn't do anything, winXP
References: <4E5FD423.4090506@molconn.com>
In-reply-to: <4E5FD423.4090506@molconn.com>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 9/1/2011 2:51 PM, 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?

One - try the full path?

Otherwise:
> Problem reports: http://cygwin.com/problems.html


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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

