php - Why does PHP_SAPI not equal 'cli' when called from a cron job? -


here line cron job...

*/5 * * * * php /home/user/public_html/index.php --uri=minion --task=emailassets 

when script runs cron job, php constant php_sapi equals 'cgi-fcgi'. why php_sapi not equal 'cli'?


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -