Mike Eldridge > Hopkins-0.9.2 > Hopkins

Download:
Hopkins-0.9.2.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.9.2   Source  

NAME ^

Hopkins - complete multiqueue job scheduling and execution system

DESCRIPTION ^

Hopkins is, in simplest terms, a better cron. In depth, though, Hopkins is an extensible application geared toward the management, scheduling, and execution of both inline perl as well as external binaries.

Hopkins's advantages include:

See Hopkins::Manual::Configuration::XML for information on configuring Hopkins using the default XML configuration.

METHODS ^

new

instantiates a new Hopkins object. the Hopkins constructor accepts a hash of options. currently supported options are:

conf

path to the hopkins XML configuration file

lp4conf

path to the log4perl configuration file

scan

configuration scan resolution (in seconds)

poll

scheduler poll resolution (in seconds)

run

start the hopkins daemon. this method will never return.

is_session_running

returns a truth value indicating whether or not a session exists with the specified alias.

get_running_sessions

returns a list of currently active session aliases

parse_datetime

DateTime::Format::ISO8601->parse_datetime wrapper that traps exceptions. this really shouldn't be necessary.

get_logger

returns a Log::Log4perl logger for the current session. the get_logger expects the POE kernel to be passed to it. if no POE::Kernel is passed, it will default to $poe_kernel.

BUGS ^

this is my first foray into POE territory. the way the system is architected may be horribly inefficient, cause cancer, or otherwise be a general nuisance to its intended user(s). my bad.

AUTHOR ^

Mike Eldridge <diz@cpan.org>

LICENSE ^

Copyright (c) 2010 Mike Eldridge. All rights reserved.

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

HOME ^

http://github.com/tripside/hopkins

syntax highlighting: