delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/05/13:01:19

X-Spam-Check-By: sourceware.org
Message-ID: <45253A48.1090000@cygwin.com>
Date: Thu, 05 Oct 2006 13:00:56 -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 (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: rsync can run in command line but not in cron
References: <BAY21-F193FB967FB055FDB28E98EE9120 AT phx DOT gbl>
In-Reply-To: <BAY21-F193FB967FB055FDB28E98EE9120@phx.gbl>
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

lin q wrote:
> Hi,
>  I just installed lastest cygwin on windows xp service pack 1.
> 
>  I enabled cron in cygwin, the crontab looks like this,
> 
> # DO NOT EDIT THIS FILE - edit the master and reinstall.
> # (/tmp/crontab.3548 installed on Wed Oct  4 19:11:00 2006)
> # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $)
> USER=toma
> USERNAME=toma
> HOME=/cygdrive/c/home/toma
> HOMEDRIVE=C:
> UID=toma
> 12 19 * * * /usr/bin/rsync -azvv /cygdrive/u/ /cygdrive/c/bin/swtools > 
> /tmp/swtools.cron 2>&1
> 
> 
>  But it does not work, I check the log file, it is like this,
> 
> building file list ...
> rsync: link_stat "/cygdrive/u/." failed: No such file or directory (2)
> done
> 
>  It looks like it can not work with path like /cygdrive/u, this is a 
> network drive.
> 
>  The problem is I can run the exact command in command line.
> 
>  Do you know why cron make difference on the path?

<http://cygwin.com/faq/faq-nochunks.html#faq.using.shares>

-- 
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019