Displaying 1 result from an estimated 1 matches for "alerts_task".
2007 May 31
0
background worker just stops running after some time
...o ruby/rails, but I thought I did a fair job of setting up
my background worker, but after some time, maybe 4-5 hours of running, it
just stops running, without any messages. Here is the yml file:
backgroundrb.yml
---
:port: 2000
:rails_env: production
:host: localhost
here is my schedules file:
alerts_task:
:class: :alerts_worker
:job_key: :alerts_key
:worker_method: :do_work
:trigger_args:
:start: <%= Time.now + 5.seconds %>
:repeat_interval: <%= 1.hour %>
and i start it by doing: />script/backgroundrb start
everytime the worker is called, I print an It...