php - cronrab scheduled execution script maximum execution time
迷茫
迷茫 2017-06-24 09:42:18
0
2
983

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. .

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(2)
習慣沉默

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template