Displaying 1 result from an estimated 1 matches for "taskwork".
Did you mean:
task_work
2008 Apr 08
0
cron trigger problem
Hi,
I am playing around with backgroundrb 1.0.3. I have the following
backgroundrb.yml,
---
:backgroundrb:
:port: 11006
:ip: 0.0.0.0
:schedules:
:task_worker:
:run:
:trigger_args: */10 * * * * *
My task worker is just,
class TaskWorker < BackgrounDRb:MetaWorker
set_worker_name :task_worker
def run
logger.info "begin"
sleep 60
logger.info "end"
end
end
After seeing a few begin''s and end''s in the log, I get the following exception:
/Users/pkmiec/src/propertyadmin/trunk/...