diff --git a/docs/src/main/asciidoc/scheduler-reference.adoc b/docs/src/main/asciidoc/scheduler-reference.adoc index 66637ff1e9c97..01bd688d81fa5 100644 --- a/docs/src/main/asciidoc/scheduler-reference.adoc +++ b/docs/src/main/asciidoc/scheduler-reference.adoc @@ -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