Hi chaps
Thanks for the replies.....I have checked the /var/log/mondoarchive.log but there is nothing in there so I did was Chris said to do and added a trap to the cron job. This was the output of the log:
Code:
[root@backuptest tmp]# cat mondo.log
/bin/sh: mondoarchive: command not found
So it appears that the shell cannot find the command mondoarchive - I can see why as it can find it when you run the job manually :s
Do any of you guys know how I could now rectify this? The executable for mondo is located in usr/sbin.....
The cronjob i used was:
Code:
[root@backuptest tmp]# crontab -l
22 09 * * * mondoarchive -Oi -d /home/mondo -E "/home/mondo" 1>/tmp/mondo.log 2>&1
I shall try it with the script too and see what the output of that is....
Many thanks
Dave