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
A recurring problem we face is running certain long running tasks over SSH. It's usual to leverage tools like tmux, screen, or the good old nohup task >> 2>&1 & or ((nohup task &)&) for detaching.
On top of simply getting it to run, another challenge is getting error/success notifications (on the same fashion as modern error tracking tools). Besides the actual output for auditing which also lacks standards on how to handle, and usually generates some noise on the filesystem.
The idea that emerges contemplates:
Running any scripts in a detached mode, controlling their output and progress.
Handle some alerting capacity (email/API), for failures/success.
Handle the output in a standard and safe way.
kool task backup: backup is a script defined within kool.yml and might take long. We want this command to run safely, alert us in case of failure/success, and have the output in a way we can easily refer to it later.
Activity
fabriciojs commentedon Sep 3, 2020
Some tech discussion on this topic:
fabriciojs commentedon Sep 4, 2020
Other than monitoring success/failure, keeping an eye out for resources consumption (CPU/memory) would be very very interesting.