"""What I am not clear on is the best way to invoke this code so that only
one copy of the task is created"""
if you need what you asked, that is the way to do it. You asked for a piece
of code that ensures a task is queued but only that one.
My solution to the "problem" is having a piece of
What is a "protected controller"? It sounds like I need a recurring task
to monitor my recurring task ("recurring tasks all the way down").
- Scott
On Monday, August 22, 2016 at 7:47:07 AM UTC-4, Niphlod wrote:
>
> just queue the task in a protected controller that checks before inserting
>
just queue the task in a protected controller that checks before inserting
if another instance has been already queued and call that protected
controller once in a while (i.e. once per day)
On Monday, August 22, 2016 at 3:10:44 AM UTC+2, Scott Hunter wrote:
>
> The book seems pretty clear
3 matches
Mail list logo