Catalyst::Plugin::Scheduler

Schedule events to run in a cron-like fashion
Download

Catalyst::Plugin::Scheduler Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Andy Grundman
  • Publisher web site:
  • http://search.cpan.org/~agrundma/Catalyst-Plugin-Session-Store-DBI-0.11/lib/Catalyst/Plugin/Session/Store/DBI.pm

Catalyst::Plugin::Scheduler Tags


Catalyst::Plugin::Scheduler Description

Schedule events to run in a cron-like fashion Catalyst::Plugin::Scheduler is a Perl to schedule events to run in a cron-like fashion.SYNOPSIS use Catalyst qw/Scheduler/; # run remove_sessions in the Cron controller every hour __PACKAGE__->schedule( at => '0 * * * *', event => '/cron/remove_sessions' ); # Run a subroutine at 4:05am every Sunday __PACKAGE__->schedule( at => '5 4 * * sun', event => &do_stuff, ); # A long-running scheduled event that must be triggered # manually by an authorized user __PACKAGE__->schedule( trigger => 'rebuild_search_index', event => '/cron/rebuild_search_index', ); $ wget -q http://www.myapp.com/?schedule_trigger=rebuild_search_indexThis plugin allows you to schedule events to run at recurring intervals. Events will run during the first request which meets or exceeds the specified time. Depending on the level of traffic to the application, events may or may not run at exactly the correct time, but it should be enough to satisfy many basic scheduling needs. Requirements: · Perl


Catalyst::Plugin::Scheduler Related Software