delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=2.5 required=5.0 tests=AWL,BAYES_50,DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <719383.40927.qm@web82106.mail.mud.yahoo.com> |
X-RocketYMMF: | cheyette |
Date: | Tue, 22 Jun 2010 11:20:47 -0700 (PDT) |
From: | Oren Cheyette <ocheyette AT gmail DOT com> |
Subject: | Re: Using cron with network share |
To: | cygwin AT cygwin DOT com |
MIME-Version: | 1.0 |
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 |
I did finally get it to work by using the UNC path. I had thought that it was always preferable to use a unix-style path, particularly since cygwin now warns about using W32-style paths. Thanks very much for the help. Re: Fw: Using cron with network share * From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com> * To: cygwin at cygwin dot com * Date: Mon, 21 Jun 2010 22:06:25 -0400 * Subject: Re: Fw: Using cron with network share * References: <156825 DOT 61383 DOT qm AT web82108 DOT mail DOT mud DOT yahoo DOT com> * Reply-to: cygwin at cygwin dot com ________________________________ On 6/21/2010 2:08 PM, Oren Cheyette wrote: ** apologies about the bad formatting in >the earlier reply ** > > >Well, I apologize for being dense, but I'm not getting it. I read the >document you link to quite a few times before posting my query. > OK, I didn't know that. I initially tried running the service under my own account (as >suggested in the faq) with my username& password entered at prompts >from cron-config. No luck. Then I added the mount point to the system >fstab and tried again. No luck. Then I changed cron to run as system >rather than user, just to see. Still no luck. I also tried adding my >username& password to the registry using passwd -R. > How about skipping the drive altogether and directly mounting the UNC path? If that's not working for you, perhaps you want to try just doing the simple "net use" syntax to try to flush out the specifics of your problem. Again, I'd recommend using UNC paths rather than dealing with possible conflicts of network drives (using the same drive designation as two different users or in two different contexts can result in access problems for the second "use"). I seem to be missing some elementary step to mount network shares, but >I haven't found it anywhere in a week's worth of googling. Any further >hints would be appreciated. > I notice you're still running cygwin 1.7.3. The current is 1.7.5. I seem to recall that there were some issues involving cron and 1.7.3. So you might have better luck if you upgrade. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- 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 |