[CentOS] cron
Marcin Trendota
moonwolf.rh at gmail.com
Fri Apr 22 21:47:43 UTC 2016
On Friday 22 of April 2016 11:40:33 PM Marcin Trendota wrote:
> 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:
Just to be clear:
[root at kohrin cron.d]# sudo -u nobody /usr/bin/php /var/www/html/osticket/api/cron.php
Works as expected.
--
Over And Out
MoonWolf
More information about the CentOS
mailing list