Skip to content

Commit

Permalink
fix: changed cron
Browse files Browse the repository at this point in the history
  • Loading branch information
Mon4ik committed Sep 23, 2024
1 parent abcd259 commit 88bf509
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-word.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "Publish Word of the day"
on:
workflow_dispatch:
schedule:
- cron: "5 9 * * *" # will be 12:05 in MSK
- cron: "0 9 * * *" # should be at 12:00 UTC+3. But github can run it later :/

jobs:
publish-word:
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
~~глупы~~ познавательный канал в телеграме

## ноте
Срабатывает каждый день в 12:05 по МСК, благодаря `on: schedule` в [`.github/workflows/publish-word.yaml`](.github/workflows/publish-word.yaml).

Не 12:00, потому что гитхаб может отменить запуск workflow
Срабатывает каждый день примерно в 12 часов по МСК, благодаря `on: schedule` в [`.github/workflows/publish-word.yaml`](.github/workflows/publish-word.yaml).

## кредитс
- Список слов: https://gist.github.com/kissarat/bd30c324439cee668f0ac76732d6c825 (при заходе на гист может лагать)
Expand Down

0 comments on commit 88bf509

Please sign in to comment.