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
In execution of your application you will need your Telegram ID. To get it visit @exec_notifier_bot and use /start
command.
- 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.16.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for exec_notifier-0.1.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9658df0ad5c91ba39aa661d8b847ddd3fcf4de93437482b3b40f24e9ada73662 |
|
MD5 | 3ab89020b3701bd7a1e78c76e6344b3f |
|
BLAKE2b-256 | ca078f3fd0facc58a6dd9705154df9d62a54389a26990f675222233249847f0d |