Re: coldfusion scheduler executing twice

2006-11-16 Thread vishnu prasad
Hi 
I have checked the scheduler , it had ran twice also set the re-execution to 
twice

like to know the root cause for this 

Check the scheduler logs to verify that it is actually running twice
on that server. I sometimes encounter scheduled tasks on multiple
servers set up to call the same page. This happens with clustered
servers as well as copying and pasting from another server and
forgetting to change the URL string.

-Mike Chabot

On 11/15/06, vishnu prasad [EMAIL PROTECTED] wrote:


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260623
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: coldfusion scheduler executing twice

2006-11-16 Thread Ben Nadel
Do an Extended Find on your code for CFSCHEDULE... If that tag
exists anywhere, it might be the culprit. 


..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-Original Message-
From: vishnu prasad [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 16, 2006 2:02 AM
To: CF-Talk
Subject: Re: coldfusion scheduler executing twice

Hi
I have checked the scheduler , it had ran twice also set the
re-execution to twice

like to know the root cause for this 

Check the scheduler logs to verify that it is actually running twice on

that server. I sometimes encounter scheduled tasks on multiple servers 
set up to call the same page. This happens with clustered servers as 
well as copying and pasting from another server and forgetting to 
change the URL string.

-Mike Chabot

On 11/15/06, vishnu prasad [EMAIL PROTECTED] wrote:




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260644
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


coldfusion scheduler executing twice

2006-11-15 Thread vishnu prasad
Hi CF gurus

We have Coldfusion MX 6.1 with Jrun running in windows 2000 server.

From yesterday all scheduler are executing twice 
for example we have scheduler scheduled to run at 7.00 AM . the scheduler run 
twice hence duplicate mails had been send to the users

If anyone know what is causing this,Please help us


Thanks in advance
Vishnu

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260462
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: coldfusion scheduler executing twice

2006-11-15 Thread Ben Nadel
I had this issue once. Not for all scheduled tasks, but the ones for a
given application. My problem was that the page that ran the task was
trying to delete itself (at the beginning of the page) and the re-create
itself (at the end of the page). It did this for some business logic
reasons. However, there are bugs with programmatically deleting a
scheduled task. It creates a phantom task. Then, at the end of the page,
when I went to create the task again, it created it... However with the
phantom task running, I now had two tasks running at the same exact
time. 

If this is the case at all, just restart the CF service and all the
phantom tasks should be killed (as far as I know).


..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-Original Message-
From: vishnu prasad [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 15, 2006 3:16 AM
To: CF-Talk
Subject: coldfusion scheduler executing twice

Hi CF gurus

We have Coldfusion MX 6.1 with Jrun running in windows 2000 server.

From yesterday all scheduler are executing twice for example we have
scheduler scheduled to run at 7.00 AM . the scheduler run twice hence
duplicate mails had been send to the users

If anyone know what is causing this,Please help us


Thanks in advance
Vishnu



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260475
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: coldfusion scheduler executing twice

2006-11-15 Thread vishnu prasad
hi

Our scheduler are created in CF admin not in programme.
anyhow we would try to stop the service and check the same 

Thanks for your advice.

I had this issue once. Not for all scheduled tasks, but the ones for a
given application. My problem was that the page that ran the task was
trying to delete itself (at the beginning of the page) and the re-create
itself (at the end of the page). It did this for some business logic
reasons. However, there are bugs with programmatically deleting a
scheduled task. It creates a phantom task. Then, at the end of the page,
when I went to create the task again, it created it... However with the
phantom task running, I now had two tasks running at the same exact
time. 

If this is the case at all, just restart the CF service and all the
phantom tasks should be killed (as far as I know).


.
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-Original Message-
From: vishnu prasad [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 15, 2006 3:16 AM
To: CF-Talk
Subject: coldfusion scheduler executing twice

Hi CF gurus

We have Coldfusion MX 6.1 with Jrun running in windows 2000 server.

From yesterday all scheduler are executing twice for example we have
scheduler scheduled to run at 7.00 AM . the scheduler run twice hence
duplicate mails had been send to the users

If anyone know what is causing this,Please help us


Thanks in advance
Vishnu

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260504
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: coldfusion scheduler executing twice

2006-11-15 Thread Mike Chabot
Check the scheduler logs to verify that it is actually running twice
on that server. I sometimes encounter scheduled tasks on multiple
servers set up to call the same page. This happens with clustered
servers as well as copying and pasting from another server and
forgetting to change the URL string.

-Mike Chabot

On 11/15/06, vishnu prasad [EMAIL PROTECTED] wrote:
 hi

 Our scheduler are created in CF admin not in programme.
 anyhow we would try to stop the service and check the same

 Thanks for your advice.

 I had this issue once. Not for all scheduled tasks, but the ones for a
 given application. My problem was that the page that ran the task was
 trying to delete itself (at the beginning of the page) and the re-create
 itself (at the end of the page). It did this for some business logic
 reasons. However, there are bugs with programmatically deleting a
 scheduled task. It creates a phantom task. Then, at the end of the page,
 when I went to create the task again, it created it... However with the
 phantom task running, I now had two tasks running at the same exact
 time.
 
 If this is the case at all, just restart the CF service and all the
 phantom tasks should be killed (as far as I know).
 
 
 .
 Ben Nadel
 Certified Advanced ColdFusion MX7 Developer
 www.bennadel.com
 
 Need ColdFusion Help?
 www.bennadel.com/ask-ben/
 
 -Original Message-
 From: vishnu prasad [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, November 15, 2006 3:16 AM
 To: CF-Talk
 Subject: coldfusion scheduler executing twice
 
 Hi CF gurus
 
 We have Coldfusion MX 6.1 with Jrun running in windows 2000 server.
 
 From yesterday all scheduler are executing twice for example we have
 scheduler scheduled to run at 7.00 AM . the scheduler run twice hence
 duplicate mails had been send to the users
 
 If anyone know what is causing this,Please help us
 
 
 Thanks in advance
 Vishnu

 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260613
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: coldfusion scheduler executing twice

2006-11-15 Thread vishnu prasad
Hi 
We are not mulitple server or cluster enviornment . checked the scheduler log , 
scheduler had executed twice and re-execution also set to twice.

It stopped after re-starting the Coldfusion Services.

But i would like to know why it had happened, to avoid the same issue in feture
 


Check the scheduler logs to verify that it is actually running twice
on that server. I sometimes encounter scheduled tasks on multiple
servers set up to call the same page. This happens with clustered
servers as well as copying and pasting from another server and
forgetting to change the URL string.

-Mike Chabot

On 11/15/06, vishnu prasad [EMAIL PROTECTED] wrote:


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260621
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4