Name

jobcfg — configure jobs

Synopsis

jobcfg {label} get {key}

jobcfg {label} set {key="value"}

jobcfg {label} generate

jobcfg {label} list

jobcfg {label} [ export | import ]

jobcfg {label} [ snapshot | rollback ]

Description

jobcfg deals with job configuration settings. The following subcommands are available:

jobcfg label set key="value"

Set a job variable.

jobcfg label get key

Print the value of a job property to standard output.

jobcfg label list

List all of the job properties, one per line.

jobcfg label export

Export the job configuration database to a plain-text file. This file can be restored using the "import" command.

jobcfg label import

Replace the job configuration database with values from a plain-text file that were previously created via "jobcfg export".

jobcfg label snapshot

Create a snapshot of the current values in the job configuration database. If a snapshot already exists, it will be replaced with a new snapshot.

jobcfg label rollback

Rollback the job configuration database to it's state at the time of the last call to "jobcfg snapshot".

jobcfg label generate --template=input_path --output=output_path --delimiter=delimiter

Generate a configuration file for a job based on a template. Values in the job configuration database will be substituted where possible. By default, the is a sequence of three at-symbols, i.e. "@@@", but this may be overridden by using the --delimiter option.

ENVIRONMENT

The jobcfg command does not rely on any environment variables.

EXIT STATUS

The jobcfg command exits 0 on success, and >0 if an error occurs

SEE ALSO

jobctl(1), jobd(8), job(5)

AUTHORS

Mark Heily <mark@heily.com>

BUGS

This command is not implemented yet.