First off I know this isn't a UNIX forum, but most of the people who post are pretty all knowing, so I figure someone can help. I'm trying to write my crontab to execute a script every 2 minutes. From the command line I enter 'crontab .crontab' to tell cron to use .crontab. <----The contents of my .crontab file----> /2 * date cron.sh <----END----> From the man pages this should work correctly, but does not run the script. The script runs fine with no errors from the command line: ./cron.sh Can anyone tell me what I'm doing wrong?
Thanks, Flinn
try specifying an absolute path in the crontab
I can only assume your crontab is somewhere in /etc and from what you've got there, it'll try to find /etc/cron.sh
I could be wrong though...........
Bealers