X-Spam-Check-By: sourceware.org Message-ID: <455E1D35.1050306@cygwin.com> Date: Fri, 17 Nov 2006 15:36:05 -0500 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060916 Fedora/1.5.0.7-1.fc4.remi Thunderbird/1.5.0.7 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Cron doenst work with the Network Drives References: <455E0EA3 DOT 6060308 AT edpausa DOT com> In-Reply-To: <455E0EA3.6060308@edpausa.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Ilya Vishnyakov wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, I'm trying to set up a simple cron job with the network drive. > I use cron 3.0.1 with cygwin.my crontab has this : > * * * * * /usr/bin/cp /tmp/date.txt /etc/date.txt > it works fine once i start the cron job > however when > try to > * * * * * /usr/bin/cp /tmp/date.txt /cygdrive/Z/PUBLIC/stas/date.txt > nothing happens! > /cygdrive/Z/PUBLIC/stas/ has drwxr-xr-x permissions > when i try to chmod it via cygwin, permissions wont change. > > When i simply run the command: /usr/bin/cp /tmp/date.txt > /cygdrive/Z/PUBLIC/stas/date.txt, it works. > > Please help me to figure out why cron wont work with the network drive. > Thank you! -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- 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/