php - Cron job / connection timed out issue -
php - Cron job / connection timed out issue -
i using wget in cron job command run bot this:
/usr/bin/wget -o /dev/null http://www.website.com/bot/update?botkey=wpdalasd12laa but not working. failure emails contain repetitive error:
> resolving www.website.com... 55.55.55.55 > connecting www.website.com|55.55.55.55|:80... connected. > http request sent, awaiting response... read error (connection timed out) in headers. > retrying. runtime of bot more 15 minutes. think because of this, connection become timed out.
probably, running bot via php makes more sense. because scheme running on framework, not easy apply. there can done running bot via wget or curl avoiding connection timed out?
php linux curl cron wget
Comments
Post a Comment