Problem with bash script running under NT AUTHORITY\SYSTEM

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Wed Dec 2 22:31:00 GMT 2009


On 12/02/2009 04:47 PM, Almo wrote:
> When this is run from NT AUTHORITY\SYSTEM as a scheduled task, I get an
> error. So I put in some debug output: (I also have to specify where gzip.exe
> is so that account can find it, hence the "/usr/bin/" part)
>
> echo "/usr/bin/gzip -f ./$1.sql 2>>  error.log">>  error.log
> usr/bin/gzip -f ./$1.sql 2>>  error.log
  ^
Oops!  You forgot the '/' before 'usr'.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

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