everyx
by Jon Moses
http://burningbush.rubyforge.org/everyx/
== DESCRIPTION:
Everyx is a simple class for managing and runner periodic tasks. It comes with some simple, common tasks. At least, it will. Right now it just has a RSS checker.
== features/PROBLEMS:
- Schedule tasks to run every X seconds
- Multiple schedules
== SYNOPSIS:
ex = Everyx::Everyx.new ## Create new runner
pt = Everyx::PeriodicTasks::RSSNotifier.new ## Create notifier
pt.uri = "http://path.to/rss-feed" ## Set it to uri
ex.add( pt, (60*15) ) ## Add to runner to run every 15 minutes
es.join ## Join, so the process doesn't exit. Calls Thread.join on all
## task threads.
The requirements listed below are not for Everyx, but for the periodic tasks. Everyx (just the runner) has no dependencies.
== REQUIREMENTS:
- rss
- open-uri
- nserver
- hpricot
== INSTALL:
% gem install everyx
== LICENSE:
Everyx is released under the GPL. Text is available at http://www.gnu.org/copyleft/gpl.html