Changeset 18315
- Timestamp:
- 08/27/08 19:06:34 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/TheSchwartz-Simple/trunk/lib/TheSchwartz/Simple.pm
r18314 r18315 121 121 my $dbh = DBI->connect(...); 122 122 my $client = TheSchwartz::Simple->new([ $dbh ]); 123 my $job_id = $client->insert('funcname', @args); 123 my $job_id = $client->insert('funcname', $arg); 124 125 my $job = TheSchwartz::Simple->new; 126 $job->funcname("WorkerName"); 127 $job->arg({ foo => "bar" }); 128 $job->uniqkey("uniqkey"); 129 $job->run_after( time + 60 ); 130 $client->insert($job); 124 131 125 132 =head1 DESCRIPTION
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)