• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFMX 8 - Scheduled tasks timing out

Guest
Mar 20, 2008 Mar 20, 2008

Copy link to clipboard

Copied

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
TOPICS
Advanced techniques

Views

1.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Contributor , Mar 20, 2008 Mar 20, 2008
Here is the technote: http://www.adobe.com/go/tn_19438

Votes

Translate

Translate
LEGEND ,
Mar 20, 2008 Mar 20, 2008

Copy link to clipboard

Copied

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.



Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 20, 2008 Mar 20, 2008

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 20, 2008 Mar 20, 2008

Copy link to clipboard

Copied

LATEST
Here is the technote: http://www.adobe.com/go/tn_19438

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation