Skip to content

Commit

Permalink
Add 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 f37d9bd
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 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 f37d9bd

Please sign in to comment.