Skip to main content
March 20, 2008
Answered

CFMX 8 - Scheduled tasks timing out

  • March 20, 2008
  • 3 replies
  • 1523 views
Hi,

I just migrate from CFMX 6.1 tyo CFMX 8 and I have a problem with a scheduled task already existing. It's not that big of a task and but page is always timing out. I tried to re-create it but it still happens. I tried to put a RequestTimeOut in the link like this ( http://www.myCFMpage.com//myTask.cfm?RequestTimeOut=50000) but it doesn't work either.

Why does this happen ?? I thought that scheduled tasks never timed out ??

Here's the message in my scheduler.log file :
The request has exceeded the allowable time limit Tag: cfhttp
Error while executing task The request has exceeded the allowable time limit Tag: cfhttp

Thanks for your help

Gilles
This topic has been closed for replies.
Correct answer Oğuz Demirkapı
Here is the technote: http://www.adobe.com/go/tn_19438

3 replies

Oğuz DemirkapıCorrect answer
Participating Frequently
March 20, 2008
Here is the technote: http://www.adobe.com/go/tn_19438
March 20, 2008
I'm usign the CF Administrator. What can I do to prevent this to happen ? How can I increase the time out so my page run smoothly ?

Thanks

Gilles
Inspiring
March 20, 2008
cfgilles wrote:
> RequestTimeOut in the link like this
> ( http://www.myCFMpage.com//myTask.cfm?RequestTimeOut=50000) but it doesn't work
> either.

This feature has been deprecated. You use the CF Administrator or the
<cfsetting...> tag to adjust how long a template is allowed to run.

>
> Why does this happen ?? I thought that scheduled tasks never timed out ??

Of course they time out. All a schedule task does is make a request
with ColdFusion's internal browser at a scheduled time. Once this
request is made, it is process as any other request and will time-out at
the defined time as any other request would.

It sounds like your <cfhttp...> request is not getting returned in the
allowed time.