Re: shutdown doesn't do anything, winXP

2011-09-02 Thread Corinna Vinschen
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

Re: shutdown doesn't do anything, winXP

2011-09-02 Thread LMH
Using the full path was successful. As an aside, why does which shutdown return /usr/bin/shutdown when the shutdown app is located in /bin/shutdown? What value does the /usr part of the path have in this context? I suppose I should use force, but I never have anything running when I run the

Re: shutdown doesn't do anything, winXP

2011-09-02 Thread Warren Young
On 9/2/2011 11:26 AM, LMH wrote: As an aside, why does which shutdown return /usr/bin/shutdown when the shutdown app is located in /bin/shutdown? What value does the /usr part of the path have in this context? /bin and /usr/bin are the same thing by default under Cygwin. c:\cygwin is

shutdown doesn't do anything, winXP

2011-09-01 Thread LMH
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

Re: shutdown doesn't do anything, winXP

2011-09-01 Thread Larry Hall (Cygwin)
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