It works on my testing server but not my dedicated server, they both run CentOS.
The servers run Apache and PHP and I'm trying to add cron jobs to the current user's crontab with PHP. I place all jobs in a text file (cron.txt) and then load that into the crontab program, like this:
crontab -u username cron.txt
Then I call:
crontab -u username -l
to list the current jobs and it shows nothing.
Username is the name of the user that PHP runs under. I removed it from the cron.deny file and added it to the cron.allow file, to no avail.
Anyone know about other possibilities that could cause this not to work?