Skip to content

Add Job::getLastRun() to support catching up missed schedule runs#270

Open
jrauh01 wants to merge 1 commit intomainfrom
feature/catch-up-missed-runs
Open

Add Job::getLastRun() to support catching up missed schedule runs#270
jrauh01 wants to merge 1 commit intomainfrom
feature/catch-up-missed-runs

Conversation

@jrauh01
Copy link
Copy Markdown
Contributor

@jrauh01 jrauh01 commented Mar 18, 2026

Returns the start time of the most recent run for this job's schedule, or null if it has never run. Used by the scheduler to pass as $lastRun to Frequency::isDue(), so a schedule whose start time is in the past and has missed a run is treated as immediately due.

require Icinga/ipl-scheduler#62

Returns the start time of the most recent run for this job's schedule, or `null`
if it has never run. Used by the scheduler to pass as `$lastRun` to
`Frequency::isDue()`, so a schedule whose start time is in the past and has
missed a run is treated as immediately due.
@jrauh01 jrauh01 self-assigned this Mar 18, 2026
@cla-bot cla-bot bot added the cla/signed label Mar 18, 2026
@jrauh01 jrauh01 requested a review from lippserd March 18, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant