NAME

Job::Machine::DB - Database class for Job::Machine

METHODS

new

my $client = Job::Machine::DB->new(
    dbh   => $dbh,
    jobclass => 'queue.subqueue',

);

my $client = Job::Machine::Base->new(
    dsn   => @dsn,
);

set_listen

Sets up the listener