Installation • Usage • Build Status • Contributing • License
deadline
is a simple utility for controlling application working time. Unlike timeout
, deadline
sends KILL
signal for main processes and all child processes. This feature is very useful for shell scripts.
Installation
From sources
To build the deadline
from scratch, make sure you have a working Go 1.17+ workspace (instructions), then:
go get github.com/essentialkaos/deadline
If you want to update deadline
to latest stable release, do:
go get -u github.com/essentialkaos/deadline
sudo yum install -y https://yum.kaos.st/get/$(uname -r).rpm
sudo yum install deadline
Prebuilt binaries
You can download prebuilt binaries for Linux from EK Apps Repository.
To install the latest prebuilt version, do:
bash <(curl -fsSL https://apps.kaos.st/get) deadline
Usage
Usage: deadline {options} time:signal command...
Options
--help, -h Show this help message
--version, -v Show version
Examples
deadline 5m my-script.sh arg1 arg2
Run my-script.sh and send TERM signal in 5 minutes
deadline 5m:KILL my-script.sh arg1 arg2
Run my-script.sh and send KILL signal in 5 minutes
Build Status
Branch |
Status |
master |
|
develop |
|
Contributing
Before contributing to this project please read our Contributing Guidelines.
License
Apache License, Version 2.0