aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-09-16 17:31:16 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-09-16 17:31:16 +0300
commited1bd774404b66b744ebe19dc2f63e15a36bb6d8 (patch)
tree26a26273b6dc285dae728a751815eef62cf122b5
parent473e160f1df08847663aad6d9d3c667552d0f8a7 (diff)
readme: add crontab example
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5d40702..7632ee1 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,18 @@ Fork of https://github.com/darroyolpz/Binance-Announcements.
- Removed discord
- Added Telegram notifications
+## Usage
+
+Crontab example, runs every four hours:
+
+```
+MY_TELEGRAM_CHAT_ID=
+MY_TELEGRAM_TOKEN=""
+MY_STATE_FILE="$HOME/.binance-scraping-state"
+
+0 */4 * * * /path/to/binance-announcements-scraping-bot/binance-announcements-scraping-bot.py
+```
+
## License
MIT \ No newline at end of file