Still working on the codes.

merb_daemon_gen

A plugin for creating psuedo-scheduled jobs in merb. This merb plugin is based on dougal / daemon_generator

Requirements

  • merb-core >= 1.0.7.1
  • daemons >= 0.1.10

Usage

To get yourself rolling:

$ sudo gem install daemons $ merb-gen 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]

Notes

  • This plugin is not finished yet.