NAME
Maplat::Worker::AutoScheduler - Schedule some tasks automatically
SYNOPSIS
This module automatically schedules some tasks (mostly via the command table).
DESCRIPTION
This module provides a simple directory cleaner for multiple directories. Currently, no recursive cleaning is done (we're working on that, stay tuned). Just configure the module, the actual cleaning is done automatically.
Configuration
<module>
<modname>autoscheduler</modname>
<pm>AutoScheduler</pm>
<options>
<db>maindb</db>
<reporting>reporting</reporting>
<memcache>memcache</memcache>
</option>
</module>
A NOTE OF WARNING
Danger, Will Robinson!
Except for this standard options, everything else is currently hardcoded in the modules source code. If you want to use this module, you might want to write your own version (using this one as a template).
work_day
Schedule daily tasks.
work_hour
Schedule hourly tasks.
work_shift
My company uses a work shift model. This function schedules some tasks at the shift boundaries.
Dependencies
This module depends on the following modules beeing configured (the 'as "somename"' means the key name in this modules configuration):
Maplat::Worker::PostgresDB as "db" Maplat::Worker::Memcache as "memcache" Maplat::Worker::Reporting as "reporting"
SEE ALSO
Maplat::Worker
AUTHOR
Rene Schickbauer, <rene.schickbauer@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2008-2011 by Rene Schickbauer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.