On Jul 18, 9:23 pm, "John Mettraux" <[EMAIL PROTECTED]> wrote:
> Hi Lee,
>
> BTW, where are you based ? I'm in Yokohama, Japan.

I'm near Boston, MA, USA.

> You're right. What about a file semaphore (IIRC, as you suggested
> before). Or simply something that notices that the console is being
> triggered and not the application itself. $0 ?

Yes, I like that idea better, since with a file or DB semaphore I'd
have to worry about knowing when to remove that semaphore, when the
application quits, for example.

> Well, I rely on this behaviour in some of my applications (and also
> Nicolas). What about something like :
>
> scheduler.schedule_at(past_moment, :discard_past => true) do
>     #whatever
> end
>
> When the parameter :discard_past is set to true, if the event is due
> for the past, it would not be executed at all (and the call would
> return null). :discard_jobs_in_the_past ?
>
> Would that suit you ? There's maybe a better name for that param.

I like the idea of an optional parameter very much. discard_past,
future_only, whatever. :-)

Thanks!
Lee


--~--~---------~--~----~------------~-------~--~----~
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