You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 11, 2022. It is now read-only.
Flexible mechanism to execute commands for a limited time.
💡 Idea
$ date
# Thu Jan 7 21:02:21
$ breakit after 10m -- server run --port=8080
$ breakit ps
# +--------------------------+----------------------------+----------+----------+# | Process | Status | Since | Until |# +--------------------------+----------------------------+----------+----------+# | server run --port=8080 | exit 1; panic: database... | 21:02:36 | - |# +--------------------------+----------------------------+----------+----------+# | | | Total | 1 |# +--------------------------+----------------------------+----------+----------+
$ breakit after 10m -- database run --port=5432
$ breakit after 10m delay 5s -- server run --port=8080
$ breakit ps
# +--------------------------+----------------------------+----------+----------+# | Process | Status | Since | Until |# +--------------------------+----------------------------+----------+----------+# | database run --port=5432 | running | 21:04:09 | 21:14:09 |# | server run --port=8080 | delayed | 21:04:30 | 21:14:25 |# +--------------------------+----------------------------+----------+----------+# | | | Total | 2 |# +--------------------------+----------------------------+----------+----------+
$ curl -sSfL https://raw.githubusercontent.com/octolab/breakit/master/bin/install | sh
# or
$ wget -qO- https://raw.githubusercontent.com/octolab/breakit/master/bin/install | sh