Last active
August 5, 2016 18:10
-
-
Save bfaist/b3c5dbb67d6af42e53372ab55936e0cc to your computer and use it in GitHub Desktop.
Minion::Command::minion::jobx examples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$./script/app minion jobx 1853 | |
{ | |
"args" => [ | |
"/some/file" | |
], | |
"attempts" => 1, | |
"children" => [], | |
"created" => "Wed Aug 3 15:05:00 2016", | |
"delayed" => "Wed Aug 3 15:05:00 2016", | |
"finished" => "Wed Aug 3 15:05:26 2016", | |
"id" => 1853, | |
"parents" => [ | |
1852 | |
], | |
"priority" => 0, | |
"queue" => "default", | |
"result" => { | |
"text" => "" | |
}, | |
"retried" => undef, | |
"retries" => 0, | |
"started" => "Wed Aug 3 15:05:05 2016", | |
"state" => "finished", | |
"task" => "task_a", | |
"worker" => 108 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$./script/app minion jobx -l 5 | |
1853 finished default [Wed Aug 3 15:05:05 2016] [Wed Aug 3 15:05:26 2016] task_a | |
1852 finished default [Wed Aug 3 15:05:00 2016] [Wed Aug 3 15:05:00 2016] task_a | |
1851 finished default [Wed Aug 3 14:56:08 2016] [Wed Aug 3 14:56:09 2016] task_a | |
1850 finished default [Wed Aug 3 14:51:06 2016] [Wed Aug 3 14:56:07 2016] task_a | |
1849 finished default [Wed Aug 3 14:51:01 2016] [Wed Aug 3 14:51:02 2016] task_a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment