[CentOS] cron

Marcin Trendota moonwolf.rh at gmail.com
Fri Apr 22 21:40:33 UTC 2016


What the heck is wrong with cron?

*/1 * * * * nobody /usr/bin/php /var/www/html/osticket/api/cron.php

in /etc/cron.d doesn't get executed at all (ran from console works of 
course!). But the SAME file in /tmp runs flawlessly:

*/1 * * * * nobody /usr/bin/php /tmp/cron.php

It's CentOS7 on VPS with no SELinux.

I've noticed similiar behavior before (on bare metal server with 
SELinux).

-- 
Over And Out
MoonWolf



More information about the CentOS mailing list