Bugzilla::JobQueue - Interface between Bugzilla and TheSchwartz.
use Bugzilla; my $obj = Bugzilla->job_queue(); $obj->insert('send_mail', { msg => $message });
Certain tasks should be done asyncronously. The job queue system allows Bugzilla to use some sort of service to schedule jobs to happen asyncronously.
See the synopsis above for an easy to follow example on how to insert a job into the queue. Give it a name and some arguments and the job will be sent away to be done later.