class Openclerk\Jobs \ MetricsReport



Method Summary

Name Description
createInstance($params) Prepare a JobInstance that can be executed from the given parameters.
finishedQueue(Connection $db, $jobs) Do any post-job-queue behaviour e.g. marking the job queue as checked.
getName()
getPending(Connection $db) Get a list of all job instances that should be run soon.

public function createInstance($params)

Prepare a JobInstance that can be executed from the given parameters.


public function finishedQueue(Connection $db, $jobs)

Do any post-job-queue behaviour e.g. marking the job queue as checked.


public function getName()


public function getPending(Connection $db)

Get a list of all job instances that should be run soon.

Returns:
a list of job parameters