On 11/7/07, Lee Fyock <[EMAIL PROTECTED]> wrote:
>
> Ug. That explains it.
>
> I'm trying to unschedule that job when it has been triggered past the
> time that I need it. But I can't unschedule it at that point, because
> it's not in the task list.
>
> I probably can schedule it to be unscheduled in a couple of seconds,
> or some workaround like that. :-)

Hi Lee,

I wrote a test that reproduced your problem

http://openwferu.rubyforge.org/svn/trunk/openwfe-ruby/test/scheduler_1_test.rb

and then I added some synchronization to get_job(job_id) and
find_jobs(tag) to prevent the situation. It seems to work for me.

( 
http://openwferu.rubyforge.org/svn/trunk/openwfe-ruby/lib/openwfe/util/scheduler.rb
)


Tell me if it works for you as well.


Best regards,

-- 
John Mettraux   -///-   http://jmettraux.openwfe.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenWFEru users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to