delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Message-ID: | <434ABBA3.4020309@seremeth.com> |
Date: | Mon, 10 Oct 2005 15:06:11 -0400 |
From: | Steve <cygwin AT seremeth DOT com> |
User-Agent: | Mozilla Thunderbird 1.6.4.0b (Windows/20041206) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Cygwin + Cron + Network Shares Howto? |
X-IsSubscribed: | yes |
Hello - I have spent way too much time today trying to get some scripts accessing some smb shares on our network today in Cygwin (on XP Pro). I think I have it working now, but not after a lot of head scratching, reboots, head pounding on desk, etc.. I have poured over list archives/faq/readmes and I believe that's how I eventually got it working. The result ended up being: * get cron to run as certain user * disconnect network shares through windows explorer * connect network share (on same drive letter -- silly company dependency) via "net use" in script Is it true that cron can't see drives mounted on the console even when the same user is logged in at the console as cron is running as? I believe that cron is run as if it is a fresh login -- but for some reason can't reuse drive letters even though it can't see they are in use to begin with! Much of my frustration could have been resolved if there was a good doc on this. Is there one? If not, I will likely write something. I am open to any and all suggestions here. Please advise - Thanks, Steve -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |