mickalo

Well-Known Member
Apr 16, 2002
782
5
318
N.W. Iowa
Hello,

I just started getting this strange error message from crontab:
Code:
run-parts /etc/cron.hourly
Not a directory: /etc/cron.hourly
The cron.hourly is a directory and it's there and as far as I can tell nothing has changed. what would cause this error to all of suddenly start appearing?

Thanks,
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello :)

It's possible the /etc/crontab file on your system is corrupted. Try backing up the file, and then edit it to ensure there are no corrupted entries (you may need to delete the contents of the file and repopulate it).

Thank you.
 

mickalo

Well-Known Member
Apr 16, 2002
782
5
318
N.W. Iowa
Thanks that's exactly what the problem was. Re-created the file in the proper file format and that corrected the problem. I used the wrong editor it put some extra characters in the file causing the problem.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
I am happy to see the issue is now resolved. Thank you for updating us with the outcome.