Yote::Cron
The Yote::Cron, while it works as design, has a poor enough design that I'm yanking it from production.
The Yote::Cron is set up on the yote system and runs every minute, checking if it should run any method that is attached to a yote object. It is a limited version of a cron system, as it for now only registers methods with minutes and hours.
The Yote::Cron's public methods can only be called by an account with the __is_root flag set.
Takes a hash that has hour, minute, obj, method.
Removes the entry the corresopnds with the input, which is a hash ref containing the fields minute, hour, obj, method
Returns a list of all cron entries as strings in the format "min hour obj-id menthodname"
Performs the cron check, running the method given on the object.
Eric Wolf
Copyright (C) 2011 Eric Wolf
This module is free software; it can be used under the same terms as perl itself.
To install Yote, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Yote
CPAN shell
perl -MCPAN -e shell install Yote
For more information on module installation, please visit the detailed CPAN module installation guide.