[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rsync from a cron script



Michael Stenner <mstenner@phy.duke.edu>
> On Wed, Aug 18, 1999 at 04:24:06PM +0300, Heikki Vatiainen wrote:
> > Michael Stenner <mstenner@phy.duke.edu> wrote:
> > > 	RSYNC_RSH set to /usr/bin/rsync
> >                                 ^^^^^
> > Shouldn't this be ssh, not rsync?
> 
> Doh... Yes, it should, and unfortunately, that IS how it appears in
> the script.  I mistyped in the post :)

Ok, that would have been too easy :) Anyway, since you gave same 
doubts about environment variables, have you tried adding
"env ; exit 0" and then comparing the output of the script when 
executed "by hand" or by cron. Maybe that could give you hints 
about what is different.

// Heikki



Reply to: