当前位置: 动力学知识库 > 问答 > 编程问答 >

CRON script timing out on AWS ubuntu -- php.ini files look good, where else should I check? (timeout)

问题描述:

I have a cron script which calls a PHP file every minute. That file checks to see if any actions need to be taken and, if so, takes those actions. When the execution time is long, however, this script doesn't always finish. I'm not seeing any error codes, and my built-in logging simply stops, since it only runs with the file being executed.

The thing is: the amount of time varies over a dozen seconds in range, so I'm not sure if it's 300 seconds to my timeout when sometimes the script seems to quit after just 280.

This is being run on an AWS ubuntu server.

Is there a list of all the places I might check for errors or timeouts? The two php.ini files are both set to a half-hour, and my script is not running for nearly that long.

分享给朋友:
您可能感兴趣的文章:
随机阅读: