Skip to main content
WolfShade
Legend
September 20, 2012
Question

CFSCHEDULE issue

  • September 20, 2012
  • 1 reply
  • 416 views

Hello, everyone.

Just kind of playing around, a bit, trying to learn some tags I've never used, before.  Now I'm working with CFSCHEDULE, and have an issue that I am not sure how to go about troubleshooting.

I have three scheduled tasks in my CF Admin, one of them named "Collections_Daily_I".

I have the following code in a .cfm page:

<cfschedule action="run" task="Collections_Daily_I" requesttimeout="10800" />

Every time I load this page, the browser will look busy, the icon is moving indicating that it's waiting for some kind of response, and that will last for about 60 seconds, then I get an error message:

The request has exceeded the allowable time limit: cfhttp

Didn't I just increase the time limit to three hours???

Any clues as to what is happening?

Thank you,

^_^

    This topic has been closed for replies.

    1 reply

    Inspiring
    September 20, 2012

    That timeout is how long the scheduler will wait for the specified URL to respond.  It's not nowt to do with the request that's running the <cfschedule> tag.

    --

    Adam

    WolfShade
    WolfShadeAuthor
    Legend
    September 21, 2012

    Ah.. how do I increase the timeout for running the task?

    Thank you,

    ^_^

    UPDATE: I have added a cfsetting requesttimeout tag to the top of the page and am testing it, now.  So far, it's been running for a few minutes and seems like it will do the trick.