22.25.1.7. salt.runners.jobs

A convenience system to manage jobs, both active and already run

salt.runners.jobs.active()

Return a report on all actively running jobs from a job id centric perspective

CLI Example:

salt-run jobs.active
salt.runners.jobs.list_job(jid, ext_source=None)

List a specific job given by its jid

CLI Example:

salt-run jobs.list_job 20130916125524463507
salt.runners.jobs.list_jobs(ext_source=None)

List all detectable jobs and associated functions

CLI Example:

salt-run jobs.list_jobs
salt.runners.jobs.lookup_jid(jid, ext_source=None, missing=False)

Return the printout from a previously executed job

CLI Example:

salt-run jobs.lookup_jid 20130916125524463507
salt.runners.jobs.print_job(jid, ext_source=None)

Print job available details, including return data.

CLI Example:

salt-run jobs.print_job

Docs for previous releases are available on salt.rtfd.org.

Latest Salt release: 2014.7.1

Previous topic

22.25.1.6. salt.runners.git_pillar

Next topic

22.25.1.8. salt.runners.launchd

SaltStack News

Upcoming SaltStack events, webinars and local meet ups and user groups.