When attempting to use the crontab command or add/modify a cron job via the cPanel interface, you may see an error like the following.
You (USERNAME) are not allowed to use this program (crontab)
See crontab(1) for more information
If the /etc/cron.allow file exists, then you must be listed (one user per line) therein to be allowed to use this command or add cron jobs via the cPanel or WHM interfaces.
If the /etc/cron.allow file does not exist but the /etc/cron.deny file does exist, then you must not be listed in the /etc/cron.deny file in order to use this command.
There are two options for this workaround.
- You can add the users that should be allowed to create or manage cron jobs to file /etc/cron.allow.
- You can rename or remove the file /etc/cron.allow.