Displaying 1 result from an estimated 1 matches for "monitoring_worker".
2008 Apr 02
2
scheduling worker methods in rails
...thin rails 2.0.2. The
problem is, both methods don''t even get called by BackgrounDRb.
my background.yml:
> ---
> :backgroundrb:
> :port: 11006
> :ip: 0.0.0.0
> ---
> :schedules:
> :server_worker:
> :update:
> :trigger_args: 1 * * * * * *
> :monitoring_worker:
> :check_services:
> :trigger_args: */10 * * * * * *
Both Worker gets automatically started if BackgroundRb starts. I want the
server_worker to start an update-method every minute, the monitoring_worker to
check every 10 seconds if the server is still running.
Between two calls bo...