Skip to content

Proposal: kool task #47

Description

@fabriciojs

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions