tomykaira/clockwork — Issue #1: work with Daemons
Author: mmra
Created: 2011-10-20 08:54:37+00:00
State: open

Hi,

I tried to daemonize clockwork but with no success.
The simplest way to do do it (below) seems to be too simple ;)

require 'rubygems'
require 'daemons'

Daemons.run_proc('clockwork') do
exec "clockwork config/clock.rb"
end

Can you give some tips how can I do this properly?
It would by nice to have star/stop/restart functionality.

mmra