search for: middelman

Displaying 2 results from an estimated 2 matches for "middelman".

Did you mean: fidelman
2008 Apr 02
2
scheduling worker methods in rails
...every minute, the monitoring_worker to check every 10 seconds if the server is still running. Between two calls both worker are stopped (or sleeping), the creation and the different tasks are shorter than the interval (if that matters) At another point i''m trying to schedule a Task via a MiddelMan.new_worker within rails: > MiddleMan.new_worker(:worker => :account_worker, :job_key => id, :data => id,\ :schedule => { :calculate => { :trigger_args => "*/5 * * * * * *", :data => id \ }}) With this call, the method don''t even get executed (tested with...
2006 Aug 07
2
Process status...
I''ve used Railscron in a couple instances, and I liked that fact that it has a rake task for checking the status of the process. Many times I use it in the admin interface to allow me to double check that everything is up and running. I couldn''t find one for backgroundrb, so here is a simple one. Probably obvious to everyone, and no doubt there is a better way to do it: