Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamw committed Jan 3, 2025
1 parent 6368555 commit d7adda3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions doc/integrations/cron4s.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d7adda3

Please sign in to comment.