TaskPipe::Tool::Command_StopJob - command to stop a running taskpipe job
Stop a TaskPipe process. Usually you want to do this because you started a job in the background (using the --shell=background parameter).
--shell=background
For example if earlier you executed the command
taskpipe run plan --shell=background
and you wanted to stop that job then you should first run
taskpipe show jobs
use the list which is returned to identify the job id corresponding to the run plan command, then type
run plan
taskpipe stop job --job_id=<insert job id>
Using stop job rather than manually killing processes is recommended where possible, because jobs can involve multiple threads and subprocesses (such as TOR instances) which stop job will attempt to identify and shut down appropriately.
stop job
The ID of the job you want to stop. To find the job_id, use show jobs.
job_id
show jobs
Tom Gracey <tomgracey@gmail.com>
Copyright (c) Tom Gracey 2018
TaskPipe is free software, licensed under
The GNU Public License Version 3
To install TaskPipe, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TaskPipe
CPAN shell
perl -MCPAN -e shell install TaskPipe
For more information on module installation, please visit the detailed CPAN module installation guide.