[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Crontab not working?



>  -----Original Message-----
> From: 	gregg@xxxxxxxxxxxx@CPR
[mailto:IMCEANOTES-gregg+40dynameks+2Ecom+40CPR@xxxxxx] 
> Sent:	Saturday, March 03, 2001 8:55 PM
> To:	cobalt-users@xxxxxxxxxxxxxxx
> Subject:	[cobalt-users] Crontab not working?
> 
>  
> Hello,
> I am not sure what I'm doing wrong.  I installed logcheck, and it
works
> fine.  I made a little script to run it and placed it in cron.hourly.
> When I manually run it ./logcheck it runs fine, but it is not running
by
> itself every hour.  How do I find out if it's running or not?  I
checked the
> cron log file /var/log/cron and it shows that the /etc/cron-hourly
seems to
> be working, but it's obviously not running my little script, so I
placed the
> command to run the logcheck script directly into /etc/crontab.  I
restarted
> crontab, and now it's working.  So, my question is why is it NOT
running
> when I just place it in the cron.hourly directory, but when I add it
to the
> crontab it does work.  Is there anything I could do to check and see
if the
> cron directories are actually working?
> Thanks,
> Gregg
> 

Permissions on your script? chmod 777

Curtis Ross