cron execute problems
Hi All,
I am running Centos 4.4 and I am having problems getting cron to run my script. I have made a script (usbback.sh) that is as follows:
#! /bin/sh
\cp -fR /data /media/usbback/
exit 0
The script runs just fine from the command line. If I make the following entry using crontab -e:
30 * * * * /root/scripts/usbback.sh
It will not run. The permissions on usbback.sh is 744. Any ideas why it won't run? Thanks.
|