Class DaemonKit::Cron
In: lib/daemon_kit/cron.rb
Parent: Object

Thin wrapper around rufus-scheduler gem, specifically designed to ease configuration of a scheduler and provide some added simplicity.

For more information on rufus-scheduler, please visit the RDoc‘s at rufus.rubyforge.org/rufus-scheduler/

To use the evented scheduler, call DaemonKit::EM.run prior to setting up your first schedule.

Methods

instance   new   run   scheduler  

Attributes

scheduler  [R] 

Public Class methods

Once the scheduler has been configured, call run to block the current thread and keep the process alive for the scheduled tasks to run

[Validate]