Name

jobadm — administer jobd and the job database

Synopsis

jobadm dump

jobadm list

jobadm load {path}

jobadm restart

jobadm restore

jobadm unload {label}

Description

jobadm is used to administer the job database. The following subcommands are available:

jobadm dump

Dump the contents of the job database to standard output.

jobadm list

List all of the jobs, one per line.

jobadm load path

Load a new job into the database. The path argument should specify the path to the manifest, or '-' to load from standard input.

jobadm restart

Restart the jobd process. All running jobs will be terminated. (TODO: should there be a "reload" option that does not terminate jobs?)

jobadm restore

Restore the current job database from standard input. (TODO: Decide what happens to jobs that are running but are not listed in the dumpfile).

jobadm unload label

Unload a job from the database. The label argument should specify the job label.

ENVIRONMENT

The jobadm command does not rely on any environment variables.

EXIT STATUS

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

SEE ALSO

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

AUTHORS

Mark Heily <mark@heily.com>

BUGS

This command is not implemented yet.