delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/13/16:36:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: <200311132136.hADLa237006020@viper.techchamps.com>
From: "Brendon Baumgartner" <brendon AT brendon DOT com>
To: <cygwin AT cygwin DOT com>
Subject: using rsync in a sceduled script
Date: Thu, 13 Nov 2003 13:36:03 -0800
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

I have a very odd problem.

I'm using rsync 2.5.6 in a bash script that is scheduled to run using
windows XP scheduler.

Rsync works perfectly everytime from the command line, but sometimes after
the rsync operation completes when it is run using a script/scheduler, I get
this error and rsync sits running (hung) till I manually kill it.
 
rsync error: syntax or usage error (code 1) at /tmp/rsync-2.5.6/main.c(1045)

I logged stdout and stderr from the script, and here is what it looks like:
receiving file list ... done
wrote 97 bytes  read 1569 bytes  175.37 bytes/sec
total size is 1441861  speedup is 865.46
rsync error: syntax or usage error (code 1) at /tmp/rsync-2.5.6/main.c(1045)

Is it a bug? Is it me?

Brendon


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