delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/03/11:14:11

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: <20050303161336.95612.qmail@web21202.mail.yahoo.com>
Date: Thu, 3 Mar 2005 08:13:36 -0800 (PST)
From: Paul Hodor <p_hodor AT yahoo DOT com>
Subject: cron copy on network drives
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

Hi,

I am trying to set up a cron service to update some directories on a
network drive, but I ran into a problem.

This copy command works from the command-line:
cp -a -u -v //mydrive/myshare/dir1/* //mydrive/myshare/dir2 >> log 2>&1

However, if I run it with cron I get the following error:
cp: cannot stat `//mydrive/myshare/dir1/*': No such file or directory

Do I need to use a different syntax for the path or am I doing
something else wrong? I am running Windows XP Professional version 2002
SP1 and cygwin DLL version 1.5.12.

Thanks,
Paul




	
		
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/

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