Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A plugin for creating psuedo-scheduled jobs in Ruby on Rails.
Ruby
branch: master

Works for Rails 3 now

latest commit 675c2c46c0
@kozy kozy authored committed
Failed to load latest commit information.
lib Works for Rails 3 now
README Initial commit.
install.rb Initial commit.

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]
Something went wrong with that request. Please try again.