X-Recipient: archive-cygwin AT delorie DOT 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: cygwin AT cygwin DOT 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 AT cygwin DOT com Subject: Re: shutdown doesn't do anything, winXP References: <4E5FD423 DOT 4090506 AT molconn DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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