scheduled task running to long.

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default scheduled task running to long.

    I have a Scheduled Task that runs and downloads content from another server.
    this task has a 300 sec timeout on it (set in the admin) however, the task
    continues to run and wait for the other server. This causes our server to hose.
    how can i force CF to kill the task if it goes over the time limit? or is there
    any other ways to handle this? thanks NF

    nedflanders Guest

  2. Similar Questions and Discussions

    1. Scheduled task doesn't run...
      Hi, I've setup a daily scheduled task in CF server admin (an intranet page which does all kind of updates to a table in SQL Server). But it...
    2. Scheduled Task
      :confused; I just setup a scheduled task that will send out emails if certain conditions are met in the query within the template page. When I...
    3. Scheduled Task running twice
      I just upgraded to CFMX7, and now my scheduled tasks are running twice. They run on time and when they are supposed to run, but do so 2 times right...
    4. how scheduled a task in mx7
      Hi all, I want set up scheduled task through windows scheduled task. do you know which application file (exe) should I include. before I used...
    5. Scheduled Task on DC Win2003
      Hello, When I schedule a task on Domain Controller Windows 2003 for backup Active directory for example, the task do execute only once...
  3. #2

    Default Re: scheduled task running to long.

    Ned, Is your scheduled task a URL called by the admin? If so, you may try
    adding a 'requesttimeout' querystring parameter. How is your task getting
    content from the other server? CFHTTP? If so, you could add a timeout to that
    call as well. 5 minutes is a long time, eh?

    TurboMini Guest

  4. #3

    Default Re: scheduled task running to long.

    Originally posted by: TurboMini Ned, Is your scheduled task a URL called by
    the admin? If so, you may try adding a 'requesttimeout' querystring parameter.
    How is your task getting content from the other server? CFHTTP? If so, you
    could add a timeout to that call as well. 5 minutes is a long time, eh? Yes,
    the task are URLs in the cf admin. I have the requesttimeout value set to 300
    in the admin for that task. I will try setting the time out on the cfhttp call
    itself to see if that helps. You wouldnt think 5 mins would kill the server
    but it sure seems to. and its a brand new server. go figure.

    nedflanders Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139