The "dirvish_cron" script executed in the shell ( root user) works
fine.
Running it as a cronjob the script is executed but without success. The
backup-drive gets mounted properly and everything seems to work but no
backup is created
No errors are reported and no files get written by dirvish (
dirvish-runall prints that it has done all vaults). Can anybody give me
a hint what is going wrong here?

Thanks!

Here is my code:

cat dirvish_cron
-----------------------------------------
#!bin/bash
# mount backup drive writeable
mount -v -o remount,rw /dev/hda1 /BACKUP
# mounted rw?
touch /BACKUP/rw
# run backup
/usr/local/bin/dirvish-expire
/usr/local/bin/dirvish-runall
# mount backup drive read-only
mount -v -o remount,ro /dev/hda1 /BACKUP

------------------------------------------
cat /etc/cron.d/backup
------------------------------------------
0 1 * * * root /etc/dirvish/dirvish_cron