- A NOTE OF WARNING
- SEE ALSO
- COPYRIGHT AND LICENSE
Maplat::Worker::AutoScheduler - Schedule some tasks automatically
This module automatically schedules some tasks (mostly via the command table).
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.
<module> <modname>autoscheduler</modname> <pm>AutoScheduler</pm> <options> <db>maindb</db> <reporting>reporting</reporting> <memcache>memcache</memcache> </option> </module>
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).
Schedule daily tasks.
Schedule hourly tasks.
My company uses a work shift model. This function schedules some tasks at the shift boundaries.
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"
Rene Schickbauer, <firstname.lastname@example.org>
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.