AnyEvent::Cron - Crontab in AnyEvent! provide an interface to register event on specified time.
my $cron = AnyEvent::Cron->new( verbose => 1, debug => 1, ignore_floating => 1 ); # 00:00 (hour:minute) $cron->add("00:00" => sub { warn "zero"; }) ->add( '* * * * *' => sub { } ) ->add( '1 seconds' => sub { } ) ->add( '3 days' => sub { } ) ->run(); my $cv = AnyEvent->condvar; $cv->recv;
Cornelius, <cornelius.howl_at_gmail.com>
<cornelius.howl_at_gmail.com>
Please report any bugs or feature requests to bug-anyevent-cron at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=AnyEvent-Cron. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-anyevent-cron at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc AnyEvent::Cron
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=AnyEvent-Cron
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/AnyEvent-Cron
CPAN Ratings
http://cpanratings.perl.org/d/AnyEvent-Cron
Search CPAN
http://search.cpan.org/dist/AnyEvent-Cron/
Copyright 2010 Cornelius.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install AnyEvent::Cron, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AnyEvent::Cron
CPAN shell
perl -MCPAN -e shell install AnyEvent::Cron
For more information on module installation, please visit the detailed CPAN module installation guide.