jobman run

Submit a command as a managed job

jobman run [OPTIONS] (-- COMMAND [ARG...] | --job-spec NAME | --rerun JOB) [flags]

Options

      --after-failed stringArray      require another job to fail first
      --after-finish stringArray      require another job to finish first
      --after-outcome stringArray     require JOB=OUTCOME[,OUTCOME...]
      --after-success stringArray     require another job to succeed first
      --cwd string                    set the target working directory
      --env stringArray               set NAME=VALUE in the target environment
      --failure-limit string          set a positive failure limit or unlimited
      --force-after-grace             force termination after the grace period (default true)
      --foreground                    attach input and output and wait for completion
      --group stringArray             add the job to a group
  -h, --help                          help for run
      --job-spec string               use a named job specification
      --job-timeout duration          limit the entire job (default 0s)
      --log-capture string            capture both, stdout, stderr, or none
      --log-retention string          retain logs for a duration or unlimited
      --log-segment-bytes byte-size   rotate streams after this many bytes
      --log-segments uint             cap captured segments per stream
      --max-runs string               set a positive run limit or unlimited
      --name string                   assign a display name
      --notify stringArray            deliver events through a named notifier
      --notify-on stringArray         subscribe selected notifiers to an event
      --pool string                   reserve slots from a named concurrency pool
      --profile stringArray           apply a named profile in argument order
      --repeat-delay duration         set the base successful-run delay (default 0s)
      --rerun string                  copy a prior job specification into a new job
      --retries uint                  permit N retries after the initial run
      --retry-abort-at string         prevent a run after this RFC3339 timestamp
      --retry-backoff string          select constant, linear, or exponential backoff
      --retry-delay duration          set the base failed-run delay (default 0s)
      --retry-jitter duration         set the full width of bounded delay jitter (default 0s)
      --retry-max-delay duration      cap retry and repetition delay (default 0s)
      --retry-start-failures          permit retry after process start failure
      --retry-timeouts                permit retry after a run timeout
      --retryable-exit-code ints      classify an exit code as retryable
      --run-timeout duration          limit each target-command run (default 0s)
      --secret-env stringArray        set NAME from a configured secret
      --slots uint                    reserve this many global and pool slots (default 1)
      --stdin string                  select null or live standard input
      --stdin-file string             read target standard input from a file
      --stop-grace duration           wait this long before forced termination (default 0s)
      --success-exit-code ints        classify an exit code as successful
      --success-target string         set a positive success target or unlimited
      --tag stringArray               attach a tag
      --unset-env stringArray         remove NAME from the target environment
      --wait                          wait for the terminal job outcome
      --wait-abort-at string          abort waits at this RFC3339 timestamp
      --wait-condition stringArray    use a named wait condition
      --wait-delay stringArray        wait for a duration after acceptance
      --wait-file stringArray         wait for a path to exist
      --wait-mode string              combine wait conditions with all or any
      --wait-poll duration            set the wait-condition polling interval (default 0s)
      --wait-until stringArray        wait until an RFC3339 timestamp

Global options

      --config string      use an explicit YAML configuration file
      --state-dir string   override the per-user state directory
  • jobman - Run and manage background jobs without a shared daemon