This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Problem with bash script running under NT AUTHORITY\SYSTEM
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 02 Dec 2009 17:29:24 -0500
- Subject: Re: Problem with bash script running under NT AUTHORITY\SYSTEM
- References: <26617039.post@talk.nabble.com>
- Reply-to: cygwin at cygwin dot com
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