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.
Prerequisites
- Python 3.4 or higher
- Telegram ID - get it from @exec_notifier_bot by using
/start
command.
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
exec-notifier-0.1.20.tar.gz
(2.9 kB
view details)
Built Distribution
File details
Details for the file exec-notifier-0.1.20.tar.gz
.
File metadata
- Download URL: exec-notifier-0.1.20.tar.gz
- Upload date:
- Size: 2.9 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 | b766b92104779b9dcff2cfc7087be368611e660992833aa506985dff59af1ec6 |
|
MD5 | 884f8d8b708a72520246894ad8794f7b |
|
BLAKE2b-256 | d0f0ea9a4cdcc0e3d608cd54063aa3e235c05ac785e6ffed65ea701af7fe0df0 |
File details
Details for the file exec_notifier-0.1.20-py3-none-any.whl
.
File metadata
- Download URL: exec_notifier-0.1.20-py3-none-any.whl
- Upload date:
- Size: 3.2 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 | a4898e60b187f65ee3e5b2213ee534ad3147fa0de8f6f70a77b1fe19ba999550 |
|
MD5 | 23f14f12667b1c86ca441446a8543656 |
|
BLAKE2b-256 | 48335fe522a2c2194f2c0454ebf1a87ba3bcc7ab8d61e5e6fcb3c20ab910114e |