Created
August 3, 2023 11:37
-
-
Save mnemocron/fccd0905292a9d1a4d261789926bcb9e to your computer and use it in GitHub Desktop.
Xilinx to Telegram notification "Synthesis Complete" / "Implementation Complete"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/tclsh | |
cd /home/USER/Documents/vivado/scripts | |
exec ./telegram_synth_msg.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -s -X POST \ | |
-H 'Content-Type: application/json' \ | |
-d '{"chat_id": "CHAT_ID", "text": "Vivado: Synthesis Complete", "disable_notification": false}' \ | |
https://api.telegram.org/BOT_TOKEN/sendMessage > /dev/null | |
#curl -X POST \ | |
# -H 'Content-Type: application/json' \ | |
# -d '{"chat_id": "CHAT_ID", "text": "This is a test from curl", "disable_notification": true}' \ | |
# https://api.telegram.org/BOT_TOKEN/sendMessage | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment