I've split Execution time into Connection time and Response time.
From now all, when viewing cron jobs' logs, you will see these two values.
For example, here's part of my logs for URL http://www.setcronjob.com/
Last execution time : Wed, 02 Sep 2009 11:45:08 UTC
Connection time : 0.0144
Response time : 0.000835
HTTP/1.1 200 OK
Date: Wed, 02 Sep 2009 11:45:08 GMT
Content-Type: text/html; charset=UTF-8
At SetCronJob, the max connection time is 3 seconds, and max response time is 2 seconds.
Cron Jobs are often used to perform long and heavy tasks so that they do not affect visitors/users experience on the site.ReplyDelete
3 seconds might be waaay too short for these tasks.
For those of you scripting with php, there's a wonderful function that saves us all:
"Sets wether a client disconnect should abort script execution".
Thank you for the function :)
Here's the document for who interested in
I'll have a post about this :)
Ops... without the ending "v":ReplyDelete
Yes, I see, but I dunno how to edit your comment :DReplyDelete