From ed1bd774404b66b744ebe19dc2f63e15a36bb6d8 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Thu, 16 Sep 2021 17:31:16 +0300 Subject: readme: add crontab example --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- cgit v1.2.3