Cron daemon

mallaire

Verified User
Joined
Jul 5, 2003
Messages
28
Location
Montreal, Canada
I'm receiving regular error messages from the Cron daemon:

Cron <root@webserver> run-parts /etc/cron.hourly
Not a directory: /etc/cron.hourly

I receive the same thing for daily and monthly crons...

When I add a cron directly in the crontab file, it's executed with success... but it looks like the "run-parts" thing is not able to see the /etc/cron.hourly directory. I don't understand...

I'm the owner of this server... and I always do these things under "root" access... so it should not be a permission issue????

Do you have any clue?

Thank you for any help!
 
Can you post the output of:

# ls -ald /etc/cron.hourly

and of:

# ls -al /etc/cron.hourly

???

Jeff
 
# ls -ald /etc/cron.hourly

Result is:

drwxr-xr-x 2 root root 4096 Jul 22 17:05 /etc/cron.hourly/

----------


# ls -al /etc/cron.hourly

Result is:

drwxr-xr-x 2 root root 4096 Jul 22 17:05 .
drwxr-xr-x 49 root root 4096 Aug 1 04:21 ..
-rwxr-xr-x 1 root root 28 Jul 22 17:04 apache_restart.cron
 
Back
Top