diff --git a/doc/index.md b/doc/index.md index bbfdc96c..f19bc009 100644 --- a/doc/index.md +++ b/doc/index.md @@ -82,6 +82,7 @@ In addition to this documentation, ScalaDocs can be browsed at [https://javadoc. integrations/kafka integrations/mdc-logback + integrations/cron4s .. toctree:: :maxdepth: 2 diff --git a/doc/integrations/cron4s.md b/doc/integrations/cron4s.md index c7c6a80c..b5227ebe 100644 --- a/doc/integrations/cron4s.md +++ b/doc/integrations/cron4s.md @@ -27,14 +27,12 @@ repeat(RepeatConfig(CronSchedule.unsafeFromString("10-35 2,4,6 * ? * *")))(opera Methods from `ox.scheduling.cron.CronSchedule` define `Schedule`, so they can be plugged into `RepeatConfig` and used with `repeat` API. - ## Configuration All configuration beyond `CronExpr` is provided by the `repeat` API. If an error handling within the operation is needed, you can use a `retry` inside it (see an example below) or use `scheduled` with `CronSchedule` instead of `repeat`, which allows full customization. - ## Examples ```scala mdoc:compile-only