Skip to main content

Email notification when command completes

Project description

lmk - let me know

Email notifications from the command line.

Step 1 Wrap your long running job in lmk:

$ lmk 'bash ./experiments.sh'
...  # command runs and outputs normally
[lmk] chrisc.101@gmail.com notified

Step 2

Step 3 Receive an email when it's done:

Alternatively, lmk - reads passively from stdin:

$ (./experiment1.sh; experiment2.py) 2>&1 | lmk -
... # commands run and output normally
[lmk] chrisc.101@gmail.com notified

Installation

$ pip install lmk

License

Made with ❤️ by Chris Cummins. Released under MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lmk-0.0.16.tar.gz (10.6 kB view details)

Uploaded Source

File details

Details for the file lmk-0.0.16.tar.gz.

File metadata

  • Download URL: lmk-0.0.16.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.5

File hashes

Hashes for lmk-0.0.16.tar.gz
Algorithm Hash digest
SHA256 3d2eda813225db239d936acc7aa96b145bda62805e9594031a00f2e7ef0fc33a
MD5 c7abc82d25d1bb81ac4a19d247cb4d32
BLAKE2b-256 98ad907e7e80f86c66b5a0d671aa8b65aff329af245b341f0a2af8594f67a15b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page