A tool on commandline used to kill process on time.
- Python 2.7+ or Python 3.5+
- pip or pip3
pip install deathnoteUsage:
deathnote <hour> <minute> --pid <pid>
date
# => Sun Jan 14 23:34:58 DST 2018
deathnote 23 42 --pid 9646 &
# => PID 9646 shall be killed at 23:42:47 on 2018-01-14.If you add alias to bashrc, zshrc etc. as below, this will be used more conveniently.
alias dn="deathnote"
dn 12 34 --pid 5678