NAME TheSchwartz::Simple - Lightweight TheSchwartz job dispatcher using plain DBI SYNOPSIS use DBI; use TheSchwartz::Simple; my $dbh = DBI->connect(...); my $client = TheSchwartz::Simple->new([ $dbh ]); $client->prefix("theschwartz_"); # optional my $job_id = $client->insert('funcname', $arg); my $job = TheSchwartz::Simple::Job->new; $job->funcname("WorkerName"); $job->arg({ foo => "bar" }); $job-
{{#tags}}- {{label}}
{{/tags}}