| Crates.io | everlong |
| lib.rs | everlong |
| version | 0.5.0 |
| created_at | 2025-01-31 16:44:38.389855+00 |
| updated_at | 2025-09-05 07:12:08.746012+00 |
| description | notify when command exited |
| homepage | |
| repository | https://github.com/n01e0/everlong |
| max_upload_size | |
| id | 1537648 |
| size | 63,284 |
The execution results of the command will be notified via Slack. Alternatively or additionally, you can pipe the message to an external command. You can also monitor an existing process by PID (Linux/macOS).

cargo install everlong
Execute and notify when finished
everlong <command ...>Monitor an existing process (Linux/macOS)
everlong --pid <PID> [--poll-interval-ms 1000]everlong --pid <PID> (kqueue/EVFILT_PROC)$XDG_CONFIG_HOME/everlong.yaml
webhook_url: xxxx # optional
notify_command: "notify-send 'everlong'" # optional, message is piped to stdin
# message templates
# Available variables:
# - $CMD: executed command (or monitored process cmdline)
# - $STDOUT: captured stdout (execute mode only)
# - $STDERR: captured stderr (execute mode only)
# - $PID: process id
success_message: "blah blah"
failure_message: ":("
# Message used for --pid mode (Linux)
watch_message: "process finished: pid=$PID\n$CMD"