Per "man 5 crontab":
The entire command portion of the line, up to a newline or %
character, will be executed by /bin/sh or by the shell
specified in the SHELL variable of the cronfile. Percent-signs
(%) in the command, unless escaped with backslash (\), will be
changed into new-line characters, and all data after the first %
will be sent to the command as standard input.
--Joe
On 10/20/2009 11:43 AM, 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" [email protected]::/home
/home/bry/backup/vic/home
Error
-------------------
/bin/sh: Syntax error: Unterminated quoted string
_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki