Job Stop
Description
The bacalhau job stop
command allows users to terminate a previously submitted job. This is useful in scenarios where there's a need to halt a running job, perhaps due to misconfiguration or changed priorities.
Usage
Flags
--quiet
:Description: If provided, the command will not display any output, neither to the standard output (stdout) nor to the standard error (stderr).
-h
,--help
:Description: Displays help information for the
stop
command.
Global Flags
--api-host string
:Description: Specifies the host used for RESTful communication between the client and server. The flag is disregarded if
BACALHAU_API_HOST
environment variable is set.Default:
bootstrap.production.bacalhau.org
--api-port int
:Description: Determines the port for REST communication. If
BACALHAU_API_PORT
environment variable is set, this flag will be ignored.Default:
1234
--log-mode logging-mode
:Description: Selects the desired log format. Options include:
default
,station
,json
,combined
, andevent
.Default:
default
--repo string
:Description: Defines the path to the bacalhau repository.
Default:
$HOME/.bacalhau
Examples
Stop a Specific Job:
If you wish to halt the execution of a job, you can utilize the
stop
command. Here's how you can achieve that:Command:
Expected Output:
Silently Stop a Job:
If you prefer to terminate a job without seeing any verbose feedback or messages, the
--quiet
option can be used.Command:
Expected Output:
Last updated