Scheduled Task running twice

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

  1. #1

    Default 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 in a
    row. This is a big problem for me because one of my scheduled tasks is an email
    program and all of my customers are getting their emails twice. Has anyone
    heard of this and is there a fix or workaround for it?

    jaz872 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 Problem
      Hi there everyone I am having a problem creating a scheduled task in my cold fusion administrator,it is a ST whihc i wish to run every 5 minutes,...
    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 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...
  3. #2

    Default Re: Scheduled Task running twice

    There is one known issue with the scheduler in CFMX 7 that will be fixed in
    the next cumulative hotfix (#2). It doesn't quite match your description
    however:
    Scheduled Daily every tasks are incorrectly triggered one Interval after
    CFMX restarts, even when this time is outside the specified time range
    (start-time through end-time).

    We expect to release this hotfix in the next week or so.
    --
    Tom Jordahl
    Macromedia Server Development



    Tom Jordahl Guest

  4. #3

    Default Re: Scheduled Task running twice

    I encounterd the same problem on our production server when we upgraded from
    version 6.1 to 7. While troubleshooting, I looked at the currently running
    processes in Windows task manager and noticed that there were two instances of
    every ColdFusion component running concurrently (Jrun.exe, for example). It
    then dawned on me (duh!) that even though we upgraded to CF7, CF6.1 was still
    running. We went into Services manager and disabled (and shut down) the three
    services associated with MX6.1 and this appears to have fixed the problem. I
    base this on the fact that I log most of my scheduled tasks (which run hourly)
    and we stopped getting two log entries for the same task immediately after
    shutting down the 6.1 services. Sometimes the obvious solutions actually
    work.....

    M. McConnell

    ANSCORP Guest

  5. #4

    Default Re: Scheduled Task running twice

    ANSCORP,

    Thanks for pointing this out. This was exactly what my problem was. I didn't even notice that 6.1 was still running.

    Thanks alot.

    Jer
    jaz872 Guest

  6. #5

    Default Scheduled Task Running Twice

    Hi,
    Has anyone ever had an issue with a scheduled task running two times in a row
    even though you know the scheduler only has one entry for it? I've got
    scheduled tasks that run every 5 minutes and sometimes one or two of them will
    run two times in a row. Any help is appreciated.

    Thanks

    coldskool Guest

  7. #6

    Default Re: Scheduled Task Running Twice

    I am experiencibg the same problem.
    did you have any chance to find what could cause this?



    goalquest Guest

  8. #7

    Default Re: Scheduled Task Running Twice

    That is odd. Never heard of this problem before and we deal with
    schedule task a lot.

    One option you have is, try our free trial windows automation software
    and schedule your task using that. We use scheduling service directly.
    So If problem persist this way you can isolate that it is something
    fundamentally wrong in scheduling service.

    And our program is free trial so you can do this for free.

    You can get more information and free trial download for our windows
    automation software from
    [url]http://www.tethyssolutions.com/macro-automation.htm[/url]

    Tethys Solutions, Expert Services Group
    [url]http://www.tethyssolutions.com/ask-the-expert.htm[/url]
    SMART Macro & Automation Solutions

    expert-services@tethyssolutions.com Guest

  9. #8

    Default Re: Scheduled Task Running Twice

    In just the last 4 days, our scheduled task is running twice, one hour apart.
    The file it runs is correct and I cannot find any issues in the log files.
    We are on IIS6, Windows Server 2003 and CF 6.1.

    I am stumped.....

    martin beall Guest

  10. #9

    Default Re: Scheduled Task Running Twice

    I have the same issue also. Sometimes it sends 3 times all with the same
    timestamp. My scheduled tasks that have cfmail send the emails out multiples,
    2 to 3 times. We upgraded to mx 7.1 then this started to occur. Even if I
    copy the url and paste in the browser it still generates multiple email.

    cfol Guest

  11. #10

    Default Re: Scheduled Task Running Twice

    Hi,

    I'm having the same problem - have you found a reason ??

    Thanks,

    coll...


    dottycoll Guest

  12. #11

    Default Re: Scheduled Task Running Twice

    Folks,

    A cumulative hotfix has been released yesterday 3/2/2006 with specifics to
    this issue. CH is for CFMX 7.0.1 release. Please visit this link:

    ColdFusion MX 7.0.1 Cumulative Hot Fix 2
    [url]http://www.macromedia.com/go/aae43964[/url]

    Thanks.

    speedpedal Guest

  13. #12

    Default Re: Scheduled Task Running Twice

    This hotfix did nothing to resolve this issue on our server. Are you still
    working to resolve this issue?

    I have NO tasks scheduled, but they are still running. Obviously, there is a
    problem. We are on 7.1 with all of the available updates.

    I would appreciate a response from the developers on this.

    kcmo710 Guest

  14. #13

    Default Re: Scheduled Task Running Twice

    Hi,

    If you have a multiple instance installed, you may have created a new instance
    after registering your scheduled task.

    You can check with the coldfusion Administrator in each Instance of JRUN
    wether you have scheduled task or not.

    Hope this help,

    Denys

    denys Guest

  15. #14

    Default Re: Scheduled Task Running Twice

    Did anyone resolve this issue ? Yes, I might have multiple instance installed, but how can I get rid of it, or how do I even find it?

    Thanks for your help.
    voodoofrdr Guest

  16. #15

    Default Re: Scheduled Task Running Twice

    Had this problem in Feb. We determined that multiple jrun's were executing.
    Went to the Windows Task Manager on our CF server and saw multiple jrun.exe
    which caused all my scheduled tasks to execute many times. The incident of
    multiple server instances turns out to be the culprit causing the multiple
    scheduled tasks. We rebooted the server and then checked the task manager and
    only 1 jrun.exe was then executing. Problem solved. Seems to be a bug with
    this version.

    cfol Guest

  17. #16

    Default Re: Scheduled Task Running Twice

    Hello, I resolved an issue with multiple emails being sent out by adding the
    attribute maxRows="1" into my cfquery code.
    This ensures that the cfquery does not execute multiple times, which could
    cause multiple emails to be sent out.
    Hope this helps!

    Wesociety Guest

  18. #17

    Default Re: Scheduled Task Running Twice

    [q]Originally posted by: cfol
    Had this problem in Feb. We determined that multiple jrun's were executing.
    Went to the Windows Task Manager on our CF server and saw multiple jrun.exe
    which caused all my scheduled tasks to execute many times. The incident of
    multiple server instances turns out to be the culprit causing the multiple
    scheduled tasks. We rebooted the server and then checked the task manager and
    only 1 jrun.exe was then executing. Problem solved. Seems to be a bug with
    this version.[/q]

    How did you know which one to get rid of and how did you do that?


    lug668 Guest

  19. #18

    Default Re: Scheduled Task Running Twice

    Hi all, I just posted a fresh question/thread and then discovered this - but if
    I have 2 server instances running, are not two jrun.exe processes the norm?
    I've got annoying multiple emails being sent out too, customers complaining
    (rightfully). Any ideas on how to handle this beyong rolling back to using only
    one instance(the very main reason we got Enterprise...)?

    imag_je Guest

  20. #19

    Default Re: Scheduled Task Running Twice

    Hi all, I just posted a fresh question/thread and then discovered this - but if
    I have 2 server instances running, are not two jrun.exe processes the norm?
    I've got annoying multiple emails being sent out too, customers complaining
    (rightfully). Any ideas on how to handle this beyong rolling back to using only
    one instance(the very main reason we got Enterprise...)?

    imag_je Guest

  21. #20

    Default Re: Scheduled Task Running Twice

    I've got an answer from Charlie Arehart:

    "Well, if an uninstall doesn't work, here's a workaround: just go into the
    Windows "Services" panel (from "control panel>administrative tools") and a)
    stop the CF 6.1 instance and b) set its properties to "disabled" so that it no
    longer runs. Don't forget to turn off all services related to 6.1 (and not 7).
    They all start with "ColdFusion MX" as opposed to "ColdFusion MX 7". Hope that
    helps."

    It works for me to stop an instance (cfmx 6.1) running.

    lug668 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