public
Description: A plugin for creating psuedo-scheduled jobs in Ruby on Rails.
Homepage: http://douglasfshearer.com/blog/cron-jobs-in-ruby-on-rails
Clone URL: git://github.com/dougal/daemon_generator.git
name age message
file README Thu Apr 10 03:28:01 -0700 2008 Initial commit. [dougal]
directory generators/ Mon Jan 12 14:30:35 -0800 2009 I forgot to merge the line that sets file_name ... [Joshua Moore]
file install.rb Thu Apr 10 03:28:01 -0700 2008 Initial commit. [dougal]
README
Daemon Generator
================

To get yourself rolling:
> sudo gem install daemons
> ./script/generate daemon <name>

Then insert your code in the lib/daemons/<name>.rb stub. All pid's and logs will live in the normal log/ folder.  This 
helps to make things Capistrano friendly.

Individual control script:
> ./lib/daemons/<name>_ctl [start|stop|restart]

App-wide control script (I add this to my capistrano recipe's after_restart task):
> ./script/daemons [start|stop|restart]