Displaying 1 result from an estimated 1 matches for "check_services".
2008 Apr 02
2
scheduling worker methods in rails
...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 both worker are stopped (or...