Tool to notify you when command will be executed.
Project description
Execution Notifier
This tool provides you ability to send yourself information about looong executed command when it is done. Information will be sent using Telegram Bot, which you can generate for yourself with Telegram BotFather.
Prerequisites
In execution of your application you will need your Telegram ID. To get it visit @exec_notifier_bot and use /start
command.
Installation and running
>>> pip install exec-notifier
>>> exec_notifier config --telegram_id=YOUR_TELEGRAM_ID
>>> exec_notifier notify [your_command_here]
Limitation
If you wnat to run commands with &&
, ||
, ;
, |
, >
in your terminal please use backslash character \ before each of such symbols.
Example
>>> exec_notifier notify ls -l \| head
>>> exec_notifier notify ls -l \> output.txt
>>> exec_notifier notify ls -l \&\& sleep 3
Future :soon:
- Your own bot supportage will be added
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
exec-notifier-0.1.12.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file exec-notifier-0.1.12.tar.gz
.
File metadata
- Download URL: exec-notifier-0.1.12.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-1032-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96c2ff90b35fdb8f905abaa762b408ccac2f816f2ebf89112e5d7bacaa49741e |
|
MD5 | 2c18334940dd7a58a433dda070de2b3a |
|
BLAKE2b-256 | 99850faf041bbdc808d76986c50c8d43691475613fb150c840026ddb68a80ccb |
File details
Details for the file exec_notifier-0.1.12-py3-none-any.whl
.
File metadata
- Download URL: exec_notifier-0.1.12-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-1032-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7437938beee62743fa8ee7191fb4b36600fc50d6b534cf2e443b8a994d88007a |
|
MD5 | c9b11c28e1ea27f227cb33e00218d842 |
|
BLAKE2b-256 | 35d2696af0fec6a09c320ce3941e4676c8985d1954a93ee8ab440bc7ea0eb96e |