class Rufus::Scheduler::SignalScheduler

def stop(opts={})


will not interrupt the job run).
currently running, this method will wait for it to terminate, it
(note that if a job is

are done with their current run if any.
the method will return once all the jobs have been unscheduled and
If the option :terminate is set to true,

== :terminate => true

Stops this scheduler.
def stop(opts={})
  trap(@options[:signal] || 10)
  terminate_all_jobs if opts[:terminate]
end