If the file /etc/crontab.deny does not exist, create it by running
Code: Select all
touch /etc/crontab.denyIf the /etc/crontab.deny exists,
Edit it and remove the apache user from it if it is in there
Code: Select all
/etc/crontab.denyIf you still see this error
You (apache) are not allowed to use this program (crontab)
in the /var/log/httpd/error_log file, add the apache user to the /etc/crontab.allow file by running
Code: Select all
touch /etc/crontab.allow
echo apache > /etc/crontab.allow