mirror of
https://github.com/InsanusMokrassar/docs.git
synced 2024-11-08 17:33:59 +00:00
deploy: c924bef2d9
This commit is contained in:
parent
b2ddeecf14
commit
9c6a9f9228
@ -1481,7 +1481,7 @@
|
||||
|
||||
<h1 id="faq">FAQ<a class="headerlink" href="#faq" title="Permanent link">¶</a></h1>
|
||||
<h4 id="how-oftern-new-versions-are-releasing">How oftern new versions are releasing?<a class="headerlink" href="#how-oftern-new-versions-are-releasing" title="Permanent link">¶</a></h4>
|
||||
<p>Not very often. It depend on libraries (coroutines, korlibs/klock) updates and on some new awesome, but lightweight, features coming.</p>
|
||||
<p>Not very often. It depends on libraries (coroutines, korlibs/klock) updates and on some new awesome, but lightweight, features coming.</p>
|
||||
<h4 id="where-this-library-could-be-useful">Where this library could be useful?<a class="headerlink" href="#where-this-library-could-be-useful" title="Permanent link">¶</a></h4>
|
||||
<p>First of all, this library will be useful for long uptime applications which have some tasks to do from time to time.</p>
|
||||
<h4 id="how-to-use-crontab-like-syntax">How to use crontab-like syntax?<a class="headerlink" href="#how-to-use-crontab-like-syntax" title="Permanent link">¶</a></h4>
|
||||
|
@ -1527,8 +1527,7 @@
|
||||
<h2 id="buildschedule"><code>buildSchedule</code><a class="headerlink" href="#buildschedule" title="Permanent link">¶</a></h2>
|
||||
<div class="admonition note">
|
||||
<p class="admonition-title">Custom KronScheduler</p>
|
||||
<p>
|
||||
You always able to create your own scheduler. In this section will be presented different ways and examples around standard <code>CronDateTimeScheduler</code> builders <code>buildSchedule</code>. You can read about schedulers in <a href="../describing/krontabscheduler.html">KrontabScheduler</a></p>
|
||||
<p>You are always may create your own scheduler. In this section will be presented different ways and examples around standard <code>CronDateTimeScheduler</code> builders <code>buildSchedule</code>. You can read about schedulers in <a href="../describing/krontabscheduler.html">KrontabScheduler</a></p>
|
||||
</div>
|
||||
<p>Currently, <code>buildSchedule</code> is the recommended start point for every scheduler. Usually, it is look like:</p>
|
||||
<div class="language-kotlin highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="kd">val</span><span class="w"> </span><span class="nv">scheduler</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">buildSchedule</span><span class="p">(</span><span class="s">"5 * * * *"</span><span class="p">)</span>
|
||||
@ -1558,12 +1557,13 @@ You always able to create your own scheduler. In this section will be presented
|
||||
<ul>
|
||||
<li><code>AnyTimeScheduler</code> - will always return incoming <code>DateTime</code> as next</li>
|
||||
<li><code>Every*Scheduler</code> - return near * since the passed <code>relatively</code>:</li>
|
||||
<li><code>EverySecondScheduler</code></li>
|
||||
<li><code>EveryMinuteScheduler</code></li>
|
||||
<li><code>EveryHourScheduler</code></li>
|
||||
<li><code>EveryDayOfMonthScheduler</code></li>
|
||||
<li><code>EveryMonthScheduler</code></li>
|
||||
<li><code>EveryYearScheduler</code></li>
|
||||
<li><code>EverySecondScheduler</code> / <code>KronScheduler.everyMillisecond</code></li>
|
||||
<li><code>EverySecondScheduler</code> / <code>KronScheduler.everySecond</code></li>
|
||||
<li><code>EveryMinuteScheduler</code> / <code>KronScheduler.everyMinute</code></li>
|
||||
<li><code>EveryHourScheduler</code> / <code>KronScheduler.hourly</code></li>
|
||||
<li><code>EveryDayOfMonthScheduler</code> / <code>KronScheduler.daily</code></li>
|
||||
<li><code>EveryMonthScheduler</code> / <code>KronScheduler.monthly</code></li>
|
||||
<li><code>EveryYearScheduler</code> / <code>KronScheduler.annually</code></li>
|
||||
</ul>
|
||||
<h3 id="flows">Flows<a class="headerlink" href="#flows" title="Permanent link">¶</a></h3>
|
||||
<p>Here currently there is only one extension for <code>KronScheduler</code>: <code>KronScheduler#asFlow</code>. As a result you will get <code>Flow<DateTime></code> (in fact <code>SchedulerFlow</code>) which will trigger next <code>emit</code> on each not null <code>next</code> <code>DateTime</code></p>
|
||||
|
File diff suppressed because one or more lines are too long
68
sitemap.xml
68
sitemap.xml
@ -2,172 +2,172 @@
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/index.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/krontab/index.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/krontab/describing/krontabscheduler.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/krontab/describing/string-format.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/krontab/introduction/faq.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/krontab/introduction/how-to-use.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/krontab/introduction/including-in-project.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/kslog/index.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/kslog/logging.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/kslog/setup.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/micro_utils/index.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/index.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/faq.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/dsls/keyboards.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/dsls/live-location.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/dsls/text.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/guides/keyboards.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/introduction/before-any-bot-project.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/introduction/first-bot.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/introduction/including-in-your-project.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/introduction/proxy-setup.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/logic/api-extensions.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/logic/behaviour-builder-with-fsm.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/logic/behaviour-builder.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/logic/exceptions-handling.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/logic/files-handling.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/logic/low-level-work-with-bots.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/logic/media-groups.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/logic/types-conversations.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/logic/updates-with-flows.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/updates/heroku.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/updates/long-polling.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/updates/updates-filters.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://docs.inmo.dev/tgbotapi/updates/webhooks.html</loc>
|
||||
<lastmod>2023-06-19</lastmod>
|
||||
<lastmod>2023-06-20</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
</urlset>
|
BIN
sitemap.xml.gz
BIN
sitemap.xml.gz
Binary file not shown.
Loading…
Reference in New Issue
Block a user