Skip to content

Instantly share code, notes, and snippets.

@skarmark
Created June 17, 2015 17:48
Show Gist options
  • Save skarmark/9e014e597c9ac6a01c5d to your computer and use it in GitHub Desktop.
Save skarmark/9e014e597c9ac6a01c5d to your computer and use it in GitHub Desktop.
$ st2 execution list
+--------------------------+------------+--------------+-----------+-------------------------+-------------------------+
| id | action.ref | context.user | status | start_timestamp | end_timestamp |
+--------------------------+------------+--------------+-----------+-------------------------+-------------------------+
| 5580ac720663ca62d60430ec | core.local | skarmarkar | succeeded | Tue, 16 Jun 2015 | Tue, 16 Jun 2015 |
| | | | | 23:08:34 UTC | 23:08:35 UTC |
| 5580baf32b02f87386cc7604 | core.local | skarmarkar | succeeded | Wed, 17 Jun 2015 | Wed, 17 Jun 2015 |
| | | | | 00:10:27 UTC | 00:10:28 UTC |
+--------------------------+------------+--------------+-----------+-------------------------+-------------------------+
$ st2 run core.local "date -u"
.
id: 5581b2a20663ca1a262416bd
status: succeeded
result:
{
"failed": false,
"stderr": "",
"return_code": 0,
"succeeded": true,
"stdout": "Wed Jun 17 17:47:14 UTC 2015
"
}
$ st2 execution list
+--------------------------+------------+--------------+-----------+-------------------------+-------------------------+
| id | action.ref | context.user | status | start_timestamp | end_timestamp |
+--------------------------+------------+--------------+-----------+-------------------------+-------------------------+
| 5580ac720663ca62d60430ec | core.local | skarmarkar | succeeded | Tue, 16 Jun 2015 | Tue, 16 Jun 2015 |
| | | | | 23:08:34 UTC | 23:08:35 UTC |
| 5580baf32b02f87386cc7604 | core.local | skarmarkar | succeeded | Wed, 17 Jun 2015 | Wed, 17 Jun 2015 |
| | | | | 00:10:27 UTC | 00:10:28 UTC |
| 5581b2a20663ca1a262416bd | core.local | skarmarkar | succeeded | Wed, 17 Jun 2015 | Wed, 17 Jun 2015 |
| | | | | 17:47:14 UTC | 17:47:14 UTC |
+--------------------------+------------+--------------+-----------+-------------------------+-------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment