The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Maplat::Worker::Commands - database admin command module

SYNOPSIS

This module executes commands scheduled from the WebGUI (table commandqueue)

DESCRIPTION

This module is the main command handling module and handles all the bureaucracy of handling commands. It doesn't actually executes commands, for this it relies on plugin modules like AdminCommands.

Configuration

        <module>
                <modname>commands</modname>
                <pm>Commands</pm>
                <options>
                        <db>maindb</db>
                        <memcache>memcache</memcache>
                        <reporting>reporting</reporting>
                        <log_all>1</log_all>
                </options>
        </module>

log_all is a boolean, setting if only failed commands or all executed commands are logged.

register_extcommand

Register an external command (command callback dispatch).

work

Internal function.

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.