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. .
curl or wget has timed out. It is recommended to use php-cli to execute a time-consuming script
You can check the corresponding timeout settings in php.ini and php-fpm, but php-cli is still recommended