Changes:
split out C::P::Scheduler to ::Base and ::Event
Implement all core functionality in ::Base
C::P::Scheduler provides convenience functions to ::Base
and the hooks into catalyst to do the scheduling
Pollute $c less
Introduce event objects
No longer hash based
->next_run and ->last_run are now accessors
running events goes via $event->run, called from the dispatch hook
Use $self->_config to retrieve config, rather than accessing $c directly
Add tests for schedule_state();
Add '@always' as a cron shorcut
made _event_state class data rather than instance data, so it is
accessible from the ::Event objects
made 'once every 60 seconds' check configurable using 'check_every'
XXX add to docs
made tests no longer need to hack the state file, but provide
$BASE->_last_check_time( 0 ) to reset the last checked time
Moved _event_state toe ::Event from ::Base, as it's the _event_ state
All tested & documented
TODO:
fix t/09long.t to use time::warp or somesuch