delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_NONE |
X-Spam-Check-By: | sourceware.org |
X-Yahoo-SMTP: | Uu383n6swBCEN1G9up0WSnxbvN8fCPmk |
Message-ID: | <4DCB5A2A.2050705@cygwin.com> |
Date: | Wed, 11 May 2011 23:55:22 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Mnenhy/0.8.3 Thunderbird/3.1.10 ThunderBrowse/3.3.5 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Copy to network UNC path from crontab works in non-production, not in production |
References: | <31599258 DOT post AT talk DOT nabble DOT com> <4DCB31E4 DOT 7020809 AT cygwin DOT com> <31599359 DOT post AT talk DOT nabble DOT com> |
In-Reply-To: | <31599359.post@talk.nabble.com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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 5/11/2011 9:20 PM, CygwinNoob wrote: > > Thanks for responding so quickly! I will try using the forward slashes in > Production. It may take a few days because I don't have direct access to > the Production environment and I have to go through sort of remote hands. > > The source server queries Oracle databases through shell scripts running in > a Cygwin bash shell and sends the output files to the target server which is > running SQL Server. No problem doing that interactively in Production, but > I can't do it from ssh or cron in Production and I can do it in the > non-Production environment. I cannot see any differences between the two > environments. If you're saying that in the non-Production environment it works both interactively and from cron and ssh, then I can only assume that something in the FAQ and User's Guide is in play on that machine. In general, access to network resources is restricted for services, which is what crond and sshd are. You need to follow the advice in the FAQ and/or User's Guide (the ones you referenced in your first post) to enable access for crond and sshd. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |