Skip to content

Commit

Permalink
Add hint for Scheduled.ApplicationNotRunning skip predicate
Browse files Browse the repository at this point in the history
(cherry picked from commit f37d9bd)
  • Loading branch information
HerrDerb authored and gsmet committed Jan 9, 2024
1 parent f2f4762 commit fffa654
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 @@ -302,6 +302,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 the scheduled executions while the application is starting up/shutting down, you can make use of the `io.quarkus.scheduler.Scheduled.ApplicationNotRunning` skip predicate.

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

Expand Down

0 comments on commit fffa654

Please sign in to comment.