Skip to content

A plugin for creating psuedo-scheduled jobs in Ruby on Rails. Checkout branch 'rails3'' for support of at least rails 3.0.0.beta3

Notifications You must be signed in to change notification settings

kozy/daemon_generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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]

About

A plugin for creating psuedo-scheduled jobs in Ruby on Rails. Checkout branch 'rails3'' for support of at least rails 3.0.0.beta3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%