<p>Is this in a loop?</p>
<div class="gmail_quote">On Jun 2, 2011 9:48 AM, "Whiting, Gary" <<a href="mailto:Gary.Whiting@echostar.com">Gary.Whiting@echostar.com</a>> wrote:<br type="attribution">> Have you tried a 'set -x' or other debug output in the script?<br>
> <br>> <br>> <br>> Gary Whiting | IT Systems Manager<br>> EchoStar Information Technology<br>> 100 Inverness Terrace East | Englewood, CO 80112<br>> (O) 303-706-5607 | (C) 303-229-6114<br>> UNIX Team | 303-706-5471 | <a href="http://sats-it">http://sats-it</a><br>
> <br>> <br>> <br>> <br>> Message: 2<br>> Date: Wed, 1 Jun 2011 18:14:22 -0600<br>> From: Collins Richey <<a href="mailto:crichey@gmail.com">crichey@gmail.com</a>><br>> Subject: Re: [clue] [TECH] rsync command runs from command line but<br>
>         not via        cron<br>> To: "CLUE's mailing list" <<a href="mailto:clue@cluedenver.org">clue@cluedenver.org</a>><br>> Message-ID: <BANLkTi=<a href="mailto:r9xWzuesUqo1Oeh8yFOtu5swp%2Bw@mail.gmail.com">r9xWzuesUqo1Oeh8yFOtu5swp+w@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset=ISO-8859-1<br>> <br>> On Wed, Jun 1, 2011 at 12:38 PM, Brian Gibson <<a href="mailto:bwg1974@hotmail.com">bwg1974@hotmail.com</a>> wrote:<br>>> OK I have a pair of Drobo FS NAS devices.<br>
>><br>>><br>>> Kernel? :Linux Drobo-FS 2.6.22.18<br>>> BusyBox v1.14.2 (2009-07-29 17:47:47 PDT) multi-call binary<br>>><br>>> One is the file server, the other is the backup device.? I can manually<br>
>> rsync between the two via the command line during a ssh session to the<br>>> backup device.? It works if I call the rsync command directly or via the<br>>> shell script that calls the rsync command.<br>
>><br>> ****************'<br>>><br>>> # ssh uses public/private key authentication<br>>> /mnt/DroboFS/Shares/DroboApps/rsync/rsync -avz -e 'ssh -i /root/rsync-key'<br>>> --rsync-path=/mnt/DroboFS/Shares/DroboApps/rsync/rsync<br>
>> root@0.0.0.0:/mnt/DroboFS/Shares /mnt/DroboFS/<br>> <br>> Wow, you've got me stumped. The usual problem in cron scripts is the<br>> lack of environment settings but you've got a fully qualified path to<br>
> the executable.<br>> <br>> I'll be curious to know the answer.<br>> <br>> -- <br>> Collins Richey<br>> ? ?? If you fill your heart with regrets of yesterday and the worries<br>> ? ?? of tomorrow, you have no today to be thankful for.<br>
> <br>> <br>> <br>> <br>> _______________________________________________<br>> clue mailing list<br>> <a href="mailto:clue@cluedenver.org">clue@cluedenver.org</a><br>> <a href="http://cluedenver.org/mailman/listinfo/clue">http://cluedenver.org/mailman/listinfo/clue</a><br>
</div>