On 9/5/07, cappelaere <[EMAIL PROTECTED]> wrote:
>
> OpenWFERu has a scheduler.
> One thing I seem to be missing (sorry for the question) is this:
> If I want to schedule a workflow at a specific time or at a delta time
> or repetitively, should I handle this myself or shouldn't this be
> handled by the engine itself via additional arguments to
> engine.launch?
Hi Pat,
Sounds like a great idea.
Out of the box, you can do
$engine.get_scheduler.schedule_at tomorrow_noon do
$engine.launch(myLaunchItem)
end
I also have to reread my doc about processes scheduling other processses.
I understand your idea like :
$engine.launch(whatever, :at => tomorrow_noon)
$engine.launch(whatever, :cron => "5 0 * * *") # every day, five
minutes after midnight
Is that it ?
Would you like the engine to keep track of those schedules (make them
survive an engine restart ?)
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
-~----------~----~----~----~------~----~------~--~---