[CentOS] cron

John R Pierce pierce at hogranch.com
Sat Apr 23 00:40:49 UTC 2016


On 4/22/2016 5:27 PM, Marcin Trendota wrote:
> On Friday 22 of April 2016 8:10:04 PM Steven Ford wrote:
>> >Seemed strange is all. Can the nobody user read down into
>> >/var/www/html/osticket/api? If it works in tmp, maybe permissions are
>> >the issue.
> As i said. sudo works as a charm. Cron rebels...


remember that cron doesnt run any user profile or login scripts, so it 
starts with no environment variables set.    fully specify any paths in 
the commands run by cron..



-- 
john r pierce, recycling bits in santa cruz




More information about the CentOS mailing list