30 Jun
2010
30 Jun
'10
3:22 p.m.
On 30 June 2010 15:15, Jenny Hopkins <hopkins.jenny@gmail.com> wrote:
I've set up a script** to run from cron as below. This script runs from a terminal as it should, but won't run either from cron.d or from cron.hourly when stuffed in there. Can anyone see anything glaringly obviously wrong with it?
It's run as /etc/cron.d/update-ip, with the following line: */5 * * * * root /bin/checkIP.sh
From the man page:
"The ``sixth'' field (the rest of the line) specifies the command to be run. " Your sixth field is "root" -- is this what you intended? Srdjan