I am now getting the same behavior running Event1 from a Linux Cron Job with
the Cold Fusion Scheduled Tasks turned off.

I have added new code to Event2.that prevents the undesired reports from
running.

This does not solve the mystery, however, and it could lead to other
problems so I would like to figure out the cause. Here is a summary based on
my updated knowledge of the issue. My application has extensive logging
which helps me piece this together.

This happens if I run Event1 as a Cold Fusion Scheduled Task or as a Linux
Cron Job. It DOES NOT happen if I run Event1 manually from a browser.

Minute1 - Event1 checks if it should run a report and determines it should
and fires Event2 which starts a report.
Minute2 - Event1 checks if it should run a report and determines it should
NOT and does nothing but log
Minute3 - ''
Minute4 - ''

Minute5 - 'Event1 checks if it should run a report and determines it should
NOT and does nothing but log
Minute5 - Somehow a url identical to the one fired at Minute1 which runs
Event2 fires (Now that I've put code in Event2 to stop it no report runs but
the URL does fire and I have no idea how or why)

Once the second URL fires no URLs fire until the report that started at
Minute1 is complete. Then the process starts all over again.

This happens whether I run Event1 once a minute, once every 10 minutes, or
once every 7 minutes.

If the report that started at Minute1 completes at Minute3 a report will
properly start at Minute4. In this case no URL fires at Minute5. Instead it
waits until Minute9 which is five minutes after the currently running report
started.

Thanks for your help so far. I think I've got it surrounded but I just don't
know what is causing that Phantom URL to fire.

There is only one cfhttp call in the whole app and no cflocation calls.

Bryan


On Fri, Mar 12, 2010 at 12:19 PM, Dorioo <dor...@gmail.com> wrote:

>
> Not having full control is definitely going to impede your testing.
>
> Although it's plausible that you could run railo on your personal
> computer, schedule the URL that you're testing, see if it runs twice 5
> minutes later, and delete railo. You'd at least know then if CF7 is
> the problem.
>
> - Gabriel
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331823
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to