exit-notifier
Project description
exit-notifier
Exit Notifier 是一个命令行工具,允许您在脚本执行完毕后,自动发送通知(如电子邮件)。这对于需要长时间运行的脚本或需要在无人值守的情况下监控脚本执行情况的场景非常有用。
Install
python -m pip install exit-notifier
Config
config mail
exit_notifier config mail
show config
exit_notifier show
reset config
exit_notifier reset
Use
exit_notifier run -c mail -p /path/to/your_script.py --args [脚本参数]
example usage:
exit_notifier run -c mail -p test_scripts/test_args_in.py --args -n 1 -s ss -l 1 2 5 --flag
exit_notifier run -c mail -p test_scripts/test_script.py
Notice
你的配置将被以明文记录到配置文件:~/.exit_notifier/notice.yaml中,注意警惕隐私泄露
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
exit_notifier-0.0.1.tar.gz
(4.6 kB
view details)
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 exit_notifier-0.0.1.tar.gz.
File metadata
- Download URL: exit_notifier-0.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11cf5b4d1a6b0998f4ef2f161a348f67d3be8893a4b6007e86239f0b17948822
|
|
| MD5 |
fddb92fa2153ca9e7d6b903b542a7049
|
|
| BLAKE2b-256 |
9eec5dc48a2d077c5004b038e3b1d8f11f89b6be941797ce2d8746d64495266c
|
File details
Details for the file exit_notifier-0.0.1-py2.py3-none-any.whl.
File metadata
- Download URL: exit_notifier-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db05574b35b4ce7eaa2398b8a926cc3517efcd25c9f9f44b01fb477691533005
|
|
| MD5 |
9d1a479e8da49f79aa396ed20abe5328
|
|
| BLAKE2b-256 |
36d79e13951a6c0e8ed2a71444092742523a72cd6ad4e6bf8f465289efa4008c
|