Try checking for the existence of either:
cron.allow and/or
cron.deny

These are access control lists that, as the names suggest, allow or
deny execution of cron jobs.  It would not be an outrageous setup to have 
root listed in cron.deny.  If you're not logged in as root, and THERE is a 
cron.allow file, have your username added to cron.allow.  Conversely, make 
sure that your username IS NOT in cron.deny

Also, when I use crontab, I typically encapsulate my commands within an 
executable script.  ie:
I would put your commands in a script called runperl (or something as 
creative as that).

your commands:
/usr/local/bin/perl /home/gnielson/bin/program.pl
would be in runperl

chmod 700 runperl
making my permissions '-rwx------'

then I would but the cron scheduling info in another file called mycrontab:
0 8 * * * /home/gnielson/runperl

and finally submitting the script to cron:
crontab /home/gnielson/mycrontab

I know that it seems "tangled" but I suspect that part of your problem  may 
be how cron is interpreting your submission.

Gregory Cox
If money is the root of all evil, where's my shovel?


>From: gnielson <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: Redhat list <[EMAIL PROTECTED]>
>Subject: Quick question: why does crontab not work
>Date: Fri, 7 Apr 2000 15:12:38 -0400 (EDT)
>
>I am trying to figure out why crontab for root under my Redhat 6.0 isn't
>working, but it's working fine for my home directory.
>
>I have an entry:
>
>0 8 * * * /usr/local/bin/perl /home/gnielson/bin/program.pl
>
>and I have run crontab crontab on that file several times and it is not
>running. Any suggestions?
>
>Gary
>
>
>--
>To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
>as the Subject.
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to