Use crontab curl or wget to execute a php script regularly. It is found that the execution time of the script is up to 7 seconds, and the subsequent execution will not be executed. Where can I set the running time of this script? Set_time_limit 0 has been set in the header of the php script. .
習慣沉默2017-06-24 09:44:18
curl or wget has timed out. It is recommended to use php-cli to execute a time-consuming script
为情所困2017-06-24 09:44:18
You can check the corresponding timeout settings in php.ini and php-fpm, but php-cli is still recommended