Skip to content

False cron job call after crash application #35413

@bgpbdev-boop

Description

@bgpbdev-boop

Spring Boot: 3.5.0
OpenJdk: 21.0.2
OS: RedHat

Spring Boot application has a cron job: 23 59 */1 * * * (every day at 23:59)
The application crashed at 23:00 and restarted at 08:10.
The cron job was executed at 08:59.

Is this a false cron job call, or does Spring have a mechanism for executing missed jobs?
The application has @scheduled and @EnableScheduling annotations for executing cron jobs.
This behavior was only observed after the application crashed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: stackoverflowA question that's better suited to stackoverflow.comstatus: invalidAn issue that we don't feel is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions