[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] Works manually, but not w/ cron
From: |
Alex Samad |
Subject: |
Re: [rdiff-backup-users] Works manually, but not w/ cron |
Date: |
Wed, 21 Oct 2009 07:22:18 +1100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Tue, Oct 20, 2009 at 08:43:11AM -0700, Bryan Vicknair wrote:
> The following command in cron gives me a quotation error. Do I have
> the --remote-schema argument wrong?:
>
> Cron entry:
> ------------------
> 0 0 * * * sudo /usr/bin/rdiff-backup --print-statistics
> --exclude-globbing-filelist /home/bry/backup/vic/exclude
> --remote-schema "/usr/bin/ssh -C -i /home/bry/.ssh/id_rsa %s
> /usr/bin/rdiff-backup --server" address@hidden::/home
> /home/bry/backup/vic/home
>
> Error
> -------------------
> /bin/sh: Syntax error: Unterminated quoted string
at a guess try changing the " to '
>
> See my post on linuxquestions.org:
> http://www.linuxquestions.org/questions/linux-software-2/works-manually-but-not-w-cron-quotation-problem-762961/#post3726082
>
signature.asc
Description: Digital signature