Skip to content

Run Background Tasks #19

Description

@aravindavk

Add new syntax to support running background tasks. Stop the background job on exit.

BG "workload_runner" "./workload.sh /mnt/vol1"

Using the name, stop the Background task when needed.

BG_STOP "workload_runner"

Send signal to the background process

BG_SIGNAL "workload_runner", "SIGHUP"

In between other tests, check if background process is running or not when needed.

BG_RUNNING? "workload_runner"

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions