Skip to content

Commit f6bee2e

Browse files
committed
Add additional update rates time
1 parent c47c58f commit f6bee2e

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/main/resources/application.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ cron.bot.digest.shredder=0 0 5 * * MON
121121
cron.bot.covid.report=0 0 15 * * *
122122
### At 07:00 every day.
123123
cron.bot.morning.send=0 0 7 * * *
124-
### At 13:00 every day.
125-
cron.exchange.rates.update=0 0 13 * * *
126-
### At 06:00 and 18:00 every day.
124+
### At 13:00 and 16:00 twice a day.
125+
cron.exchange.rates.update=0 0 13,16 * * *
126+
### At 06:00 and 18:00 twice a day.
127127
cron.flat.report.send=0 0 6,18 * * *

src/main/resources/messages.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ site.help.command.rate=&bull; <strong class="help-command">/rate</strong> \
414414
— Show current quotes of currencies and precious metals of various national banks.
415415
site.help.command.rate.alt=The result of the /rate command.
416416
site.help.command.rate.desc=\
417-
Quotes are updated daily and the difference is calculated based on the previous values. \
417+
Quotes are updated twice a day and the difference is calculated based on the previous values. \
418418
There is \
419419
<a href="/api/rate" title="Exchange rate values." target="_blank">a special API</a> \
420420
that displays rates in a convenient JSON format.<br/><br/>\
@@ -562,7 +562,7 @@ receiving and sending reports occurs at 15:00 every day.<br/>\
562562
phrase sent to the MotoFan.Ru Telegram chat at 07:00 every day.<br/>\
563563
&bull; <strong class="help-argument">exchange.rates.update</strong> \
564564
— Service for receiving and updating exchange rates from all official sources, \
565-
receiving and updating rates occurs at 13:00 every day.<br/>\
565+
receiving and updating rates occurs at 13:00 and 16:00 twice a day.<br/>\
566566
&bull; <strong class="help-argument">flat.report.send</strong> \
567567
— Service for receiving and sending apartment suggestion reports \
568568
receiving and sending reports occurs at 06:00 and 18:00 every day.<br/><br/>\

src/main/resources/messages_ru.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ site.help.command.rate=&bull; <strong class="help-command">/rate</strong> \
414414
— Показать актуальные котировки валют и драгоценных металов различных национальных банков.
415415
site.help.command.rate.alt=Команда /rate, результат выполнения.
416416
site.help.command.rate.desc=\
417-
Котировки обновляются каждый день, разница рассчитывается на основе предыдущего значения. \
417+
Котировки обновляются каждый день дважды, разница рассчитывается на основе предыдущего значения. \
418418
Для собственных нужд можно использовать \
419419
<a href="/api/rate" title="Котировки валют и металлов." target="_blank">специальное API</a>, \
420420
выводящее котировки в удобном формате JSON.<br/><br/>\
@@ -562,7 +562,7 @@ site.help.other=\
562562
фраза отправляется в 07:00 каждый день.<br/>\
563563
&bull; <strong class="help-argument">exchange.rates.update</strong> \
564564
— Сервис получения и обновления котировок со всех официальных источников, \
565-
получение и обновление происходит в 13:00 каждый день.<br/>\
565+
получение и обновление происходит в 13:00 и 16:00 дважды в день.<br/>\
566566
&bull; <strong class="help-argument">flat.report.send</strong> \
567567
— Сервис получения и отправки отчётов предложений недвижимости, \
568568
получение и отправка отчётов происходит в 06:00 и 18:00 каждый день.<br/><br/>\

0 commit comments

Comments
 (0)