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. Logs and error messages (if they'll occur) will be delivered too.
If your log will be too long (longer 1_000_000 signs we'll not send it).
Prerequisites
- Python 3.4 or higher
- Telegram ID - get it from @exec_notifier_bot by using
/startcommand.
Installation and running
You need to run your commands in quotes("") when passing script to run.
>>> pip install exec-notifier
>>> exec_notifier config --telegram_id=YOUR_TELEGRAM_ID
>>> exec_notifier notify "[your_command_here]"
Examples
>>> exec_notifier notify "ls -l | head"
>>> exec_notifier notify "ls -l > output.txt"
>>> exec_notifier notify "ls -l && sleep 3 && ps"
>>> exec_notifier notify "zip Downloads"
Future
- Your own bot support 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file exec-notifier-0.1.33.tar.gz.
File metadata
- Download URL: exec-notifier-0.1.33.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.9.2 Linux/5.4.0-1043-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acaef5f305c92bf44273af83eec7e33406acd7d9269645fd82491b988d3af9df
|
|
| MD5 |
c9a9965a6ba9504e2f1e11ff715e7922
|
|
| BLAKE2b-256 |
9027a94b5895d46e9c74485eee5d7b8649101ea28bcf3f42c638e076a8f8df95
|
File details
Details for the file exec_notifier-0.1.33-py3-none-any.whl.
File metadata
- Download URL: exec_notifier-0.1.33-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.9.2 Linux/5.4.0-1043-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
042747b4ba9756c8e04a6e601662b7e23e5eeaad0ba4dd3a544d02298264262a
|
|
| MD5 |
635ed4b4483815d79d71169871b169de
|
|
| BLAKE2b-256 |
75e77c61caaf1f9e2ea76aee383c4db9650af26f17bbd73eeadddbee09c6cecf
|