cron/rsync issue

2004-07-09 Thread Mark Watts
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've got an rsync command... rsync -av --stats --progress --partial --delete-after --bwlimit=2000 rsync://sunsite.uio.no/Mandrakelinux /export/ftp/mandrakelinux This works just fine when runfrom the command line (as user 'mwatts'). I've put it in

Re: cron/rsync issue

2004-07-09 Thread Terry Dooher
It could be a timing issue that means there's no route or server available at that time. Given the length of the command line, I'd be tempted to put it in a shell script with a connection checker: #!/bin/bash # Prod the rsync server... check=$(echo -e \n |netcat sunsite.uio.no 873); if [ $check

Re: cron/rsync issue

2004-07-09 Thread Mark Watts
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for the pointer - I'd forgotten we use an rsync proxy and the cron environment didnt know that :) Cheers, Mark. - -- Mark Watts Senior Systems Engineer QinetiQ Trusted Information Management Trusted Solutions and Services group GPG Public