interface CronCommand

Methods

Job
createCronJob(DateTime $lastRunAt)

Returns the job when this command is scheduled.

bool
shouldBeScheduled(DateTime $lastRunAt)

Returns whether this command should be scheduled.

Details

at line 16
Job createCronJob(DateTime $lastRunAt)

Returns the job when this command is scheduled.

Parameters

DateTime $lastRunAt

Return Value

Job

at line 23
bool shouldBeScheduled(DateTime $lastRunAt)

Returns whether this command should be scheduled.

Parameters

DateTime $lastRunAt

Return Value

bool