GitHub
Skip to content

Command line

Every heavy and fleetjobs command and flag, with what each one prints and the exit code it returns to the caller.

heavy and fleetjobs are the same program.

CommandWhat it does
heavy <cmd>Run a command, wait for it, return its exit code
heavy submit <cmd>Queue a command and print its job id
heavy wait <id>Wait for a job and return its exit code
heavy cancel <id>Stop a job
heavy statusList queued, running and recent jobs
heavy nightManage the night queue
heavy replayRun the scheduler over a log of past jobs
FlagWhat it does
--lightUse the light lane
--log <file>With replay, the log to read
--policy <name>With replay, bash or default
--jsonPrint the document as JSON
--versionPrint the version

A command run through heavy <cmd> returns the exit code of <cmd>. A usage error, such as an unknown flag, returns a non-zero code and names the fix on the next line. Run heavy --help for the same list as this page.