lib/openwfe/util/schedulers.rb in openwferu-0.9.2 vs lib/openwfe/util/schedulers.rb in openwferu-0.9.3

- old
+ new

@@ -48,17 +48,25 @@ # # The Scheduler class has been made independant of OpenWFE service # infrastructure (so that one could easily use it without OpenWFE) # class SchedulerService < Scheduler - include ServiceMixin + include ServiceMixin, Logging def initialize (service_name, application_context) + super() - @service_name = service_name - @application_context = application_context + service_init(service_name, application_context) + + ldebug { "initialize() SchedulerService #{self.object_id}" } + start() + end + + def stop + linfo { "stop() for scheduler #{self.object_id}" } + do_stop end end end