gem install openwferu-scheduler
update (2008/02) : the openwferu-scheduler gem has changed its name to rufus-scheduler.
The OpenWFEru scheduler is a small library for scheduling tasks in Ruby.
It’s used within the OpenWFEru workflow and bpm engine for expressions like ‘when’, ‘cron’, ‘sleep’, ‘wait’…
As it makes sense also outside of OpenWFEru, I packaged it in its own gem.
You can now do “[sudo] gem install openwferu-scheduler” to get a simple scheduler but not the whole OpenWFEru bpm circus.
[...] scheduler is now also available as a standalone gem thanks to John [...]
Scheduling tasks in Ruby / Rails - igvita.com
June 29, 2008 at 4:45 am
thank you for this. I just need the scheduler and installing the whole openwferu stuff would be a bit much :)
swarsron
June 30, 2008 at 10:39 am
Swarson,
no need for the whole openwferu, simply follow the first link in this post, http://rufus.rubyforge.org/rufus-scheduler or :
sudo gem install rufus-scheduler
The mailing list is at : http://groups.google.com/group/rufus-ruby
Best regards.
John Mettraux
July 1, 2008 at 12:17 am
Unfortunately at the moment I’m developing in WindowsXP and I wander if your library would work in this environment. I fear this may not be possible if it relies on *nix ‘cron’
I will then upload my pet project on Heroku, which surely use a *nix system.
Thanks
Giorgio Clavelli
July 9, 2008 at 8:21 am
Hi Giorgio,
the rufus-scheduler does not rely on a *nix cron, it’s standalone and works on Ruby as well as on JRuby. It seems to work on other Ruby VMs as well.
Best regards.
John Mettraux
July 9, 2008 at 8:23 am