shutdown doesn't do anything, winXP

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Fri Sep 2 00:45:00 GMT 2011


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



More information about the Cygwin mailing list