Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 28 Aug 2003 14:32:21 -0400 (EDT) From: Louis-Luc Le Guerrier To: cygwin AT cygwin DOT com Subject: Need help: cron jobs can't access mounted network drives Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner-DIRO: Found to be clean Hi, I'm using Cygwin on a Windows 2000 Server box. I mount some network drives from other Windows machines's shared directories, and the problem is cron jobs can't access these drives. A given script will access mounted net drives as /cygwin/f/ when manually invoked, but that SAME script will refuse to access the same drives when triggered by a cron job. If I type 'net use' before the cron starts, the status of the network drives is "OK", but if I repeat 'net use' after the cron has triggered the script with failure to access network drives, I then get "Disconnected" as status. However, I'm still able to manually go in /cygwin/f/ and list files, even though the status has become "Disconnected". Anyone knows how to fix this problem? I want to back up these network drives on tape with tar scheduled by cron. TIA. Luc -- 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/