Rcon problem (with Rsync)

Hi I have problem with cron, I want run backup script every night, but cron doesn`t work, I have this script:

#!/bin/sh

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11

mount /dev/hda2 /disk2/

ADRESARE="bin home dev package service boot www etc install usr wwwlogs command\
lib opt sbin var"

for d in $ADRESARE; do
rsync -axv /$d/ /disk2/$d/
done

umount /disk2/
Script running well, but there is problem with cron, I`am using debian woody, I added file /etc/cron.d/backup with this:

1 2 * * * root /usr/local/bin/backup
It does not running, anybody know where is problem ? Thanks ...

 

 

 

 

Top