我在cron job命令中使用wget来运行这样的机器人:

/usr/bin/wget -O /dev/null http://www.website.com/bot/update?botkey=wpdalasd12laa

但它没有用 . 我收到包含此重复错误的失败电子邮件:

> Resolving www.website.com... 55.55.55.55
> Connecting to www.website.com|55.55.55.55|:80... connected.
> HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
> Retrying.

机器人运行时间超过15分钟 . 所以我认为因此,连接变得超时 .

也许,通过php运行bot更有意义 . 但由于所有系统都在框架上运行,因此不易应用 . 是否可以通过wget或curl运行bot来避免连接超时?