Skip to content

Commit

Permalink
Ad hint for Scheduled.ApplicationNotRunning skip predicate
Browse files Browse the repository at this point in the history
  • Loading branch information
HerrDerb committed Jan 4, 2024
1 parent 620aa9c commit b098090
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/main/asciidoc/scheduler-reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,8 @@ The main idea is to keep the logic to skip the execution outside the scheduled b

TIP: A CDI event of type `io.quarkus.scheduler.SkippedExecution` is fired when an execution of a scheduled method is skipped.

TIP: To skip scheduled executions while Quarkus is shutting down, your can make use of the `Scheduled.ApplicationNotRunning.class` skip predicate.

[[non-blocking-methods]]
=== Non-blocking Methods

Expand Down

0 comments on commit b098090

Please sign in to comment.