updates in krontab docs

This commit is contained in:
InsanusMokrassar 2023-06-20 10:49:52 +06:00
parent 2943c73964
commit c924bef2d9
2 changed files with 12 additions and 10 deletions

View File

@ -2,7 +2,7 @@
#### How oftern new versions are releasing?
Not very often. It depend on libraries (coroutines, korlibs/klock) updates and on some new awesome, but lightweight, features coming.
Not very often. It depends on libraries (coroutines, korlibs/klock) updates and on some new awesome, but lightweight, features coming.
#### Where this library could be useful?

View File

@ -7,7 +7,8 @@
## `buildSchedule`
> NOTE: **Custom KronScheduler**
> You always able to create your own scheduler. In this section will be presented different ways and examples around standard `CronDateTimeScheduler` builders `buildSchedule`. You can read about schedulers in [KrontabScheduler](../describing/krontabscheduler.md)
>
> You are always may create your own scheduler. In this section will be presented different ways and examples around standard `CronDateTimeScheduler` builders `buildSchedule`. You can read about schedulers in [KrontabScheduler](../describing/krontabscheduler.md)
Currently, `buildSchedule` is the recommended start point for every scheduler. Usually, it is look like:
@ -45,12 +46,13 @@ Shortcuts are the constants that are initializing in a lazy way to provide prese
* `AnyTimeScheduler` - will always return incoming `DateTime` as next
* `Every*Scheduler` - return near * since the passed `relatively`:
* `EverySecondScheduler`
* `EveryMinuteScheduler`
* `EveryHourScheduler`
* `EveryDayOfMonthScheduler`
* `EveryMonthScheduler`
* `EveryYearScheduler`
* `EverySecondScheduler` / `KronScheduler.everyMillisecond`
* `EverySecondScheduler` / `KronScheduler.everySecond`
* `EveryMinuteScheduler` / `KronScheduler.everyMinute`
* `EveryHourScheduler` / `KronScheduler.hourly`
* `EveryDayOfMonthScheduler` / `KronScheduler.daily`
* `EveryMonthScheduler` / `KronScheduler.monthly`
* `EveryYearScheduler` / `KronScheduler.annually`
### Flows