Re: rsync from a cron script
What I'm doing with cron script is
#!/bin/sh
rsync -avCuz -e ssh whatever_directory whatever_host:whatever_directory_youwant
that works all the time.
chanop
On Wed, Aug 18, 1999 at 08:39:42AM -0400, Michael Stenner wrote:
> I am running rsync from a script that is executed by cron. It is
> intended to mirror work stuff at home. It uses my personal accounts
> on both ends (different accounts).
>
> Sadly, rsync returns the following error (and doesn't work :)
>
> Permission denied
> unexpected EOF in read_timeout
>
> Here's what I've tried:
> The script works when executed "by hand"
> I have included the command "ssh remotehost date" in order to test
> that ssh is working from the script (it is) -- yes, I have
> RSYNC_RSH set to /usr/bin/rsync
>
> The only thing I can think of is that some environment isn't being
> set, but I can't figure out which one.
>
> Any ideas?
> Thanks,
> Michael
> --
> Michael Stenner Office Phone: 919-660-2513
> Duke University, Dept. of Physics mstenner@phy.duke.edu
> Box 90305, Durham N.C. 27708-0305
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
--
----------------------------------------------------------------
Chanop Silpa-Anan
Australian National University.
Tel. +61 2 6279 8826, +61 2 6279 8837 (office hour)
+61 2 6249 5240 (home +voice mail)
ICQ uin 11366301
----------------------------------------------------------------
Reply to: