Skip to content

Instantly share code, notes, and snippets.

@jarpy
Last active August 29, 2015 14:25
Show Gist options
  • Save jarpy/fce79dcc6eb294622e06 to your computer and use it in GitHub Desktop.
Save jarpy/fce79dcc6eb294622e06 to your computer and use it in GitHub Desktop.
root@salt:~# salt --async '*' cmd.run 'date ; sleep 10; date'
Executed command with job ID: 20150716111845948627
root@salt:~# salt --async '*' cmd.run 'date ; sleep 10; date'
Executed command with job ID: 20150716111847963330
root@salt:~# salt-run jobs.lookup_jid 20150716111845948627
debian7:
Thu Jul 16 11:18:45 AEST 2015
Thu Jul 16 11:18:55 AEST 2015
root@salt:~# salt-run jobs.lookup_jid 20150716111847963330
debian7:
Thu Jul 16 11:18:47 AEST 2015
Thu Jul 16 11:18:57 AEST 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment