CronjobMeta

Implements \CronjobMetaInterface

Class CronjobMeta

package

Default

Methods

CronjobMeta constructor.

__construct(\DateTime $executedAt) 

Arguments

$executedAt

\DateTime

Last execution of cronjobs.

Named constructor of cronjob meta.

create(\DateTime $executedAt) : \CronjobMeta
static

Arguments

$executedAt

\DateTime

Last execution of cronjobs.

Response

\CronjobMeta

New instance.

Returns the last execution date of the cronjobs.

executedAt() : \DateTime

Response

\DateTime

Last execution date of cronjobs.

Returns true if the last cronjobs execution is less then one minute.

isActive() : boolean

Response

boolean

True if cronjob execution works properly.

Properties

executedAt

executedAt : \DateTime
var

Type(s)

\DateTime