Ask a Question related to Macromedia ColdFusion, Design and Development.
-
jaz872 #1
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
-
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... -
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... -
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,... -
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... -
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... -
Tom Jordahl #2
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
-
ANSCORP #3
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
-
jaz872 #4
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
-
coldskool #5
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
-
goalquest #6
Re: Scheduled Task Running Twice
I am experiencibg the same problem.
did you have any chance to find what could cause this?
goalquest Guest
-
expert-services@tethyssolutions.com #7
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
-
martin beall #8
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
-
cfol #9
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
-
dottycoll #10
Re: Scheduled Task Running Twice
Hi,
I'm having the same problem - have you found a reason ??
Thanks,
coll...
dottycoll Guest
-
speedpedal #11
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
-
kcmo710 #12
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
-
denys #13
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
-
voodoofrdr #14
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
-
cfol #15
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
-
Wesociety #16
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
-
lug668 #17
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
-
imag_je #18
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
-
imag_je #19
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
-
lug668 #20
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



Reply With Quote

