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
Post a Comment