Simple local dead man's switch for cron jobs and scheduled tasks
Project description
health-cli
Run some checks periodically locally on your machine. Provide an interface for the status of the checks. Status inteface checks timestamps and is moderately robust.
This is AI-generated and unreviewed code... for now. Also very young so liabe to change
Motivation
Why is there nothing that does this already? I don't want to use docker or some onine services
Alternatives and prior work
There are tools like monit and sentry. cron sends emails when things fail.
Installation
pipx install healthcli
Usage
Set up a job
hccli add --every 1m curl website
In cron job or systemd job: hccli run
To check run: hccli. I have this run in a plasma-applet-commandoutput KDE widget which I set up with my tool kde-panel.
If you have a systemd timer you can use hccli add --every 25h --sdtimer backup-home to ensure that the timer runs every 25h.
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 healthcli-2.1.0.tar.gz.
File metadata
- Download URL: healthcli-2.1.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c32c30509a01eaed741b8c6a2fdd088ce18cd98188334e08ffa496589efcc0e4
|
|
| MD5 |
c718868a73ea29ad9e9ad6195d59e70a
|
|
| BLAKE2b-256 |
c14db8af1324390d96e185122d92df87e108b58801a798fb1ba4f30d69057cb4
|
File details
Details for the file healthcli-2.1.0-py3-none-any.whl.
File metadata
- Download URL: healthcli-2.1.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c766a2e7f88f7eae60d0f59135897d5007991aaf7e57652db28d1568ea6690b3
|
|
| MD5 |
9a6b99a787d6c6872a05a28246a0a128
|
|
| BLAKE2b-256 |
4d76c66729202c539dcd819f3ddbeadda7dad5bb9174ebb0abfccd84e8290480
|