Атрибути
{
  "id": "533adb94-2996-4537-904f-e69c53a9f23c",
  "created_at": "2024-11-21 09:19:30 UTC",
  "updated_at": "2024-11-21 09:19:37 UTC",
  "description": "Example batch",
  "on_finish": "ExampleJob::BatchJob::CallbackJob",
  "on_success": null,
  "on_discard": null,
  "callback_queue_name": null,
  "callback_priority": null,
  "enqueued_at": "2024-11-21 09:19:30 UTC",
  "discarded_at": "2024-11-21 09:19:37 UTC",
  "finished_at": "2024-11-21 09:19:37 UTC",
  "jobs_finished_at": "2024-11-21 09:19:37 UTC",
  "properties": {
    "foo": "bar"
  }
}
Задачі з зворотнім викликом
Роботи
Черга
Пріоритет
Спроби
Черга
default
Пріоритет
0
Спроби
1
Успішно виконано
{
  "job_id": "3ae3580c-0804-44d3-94cd-daa5776f42b5",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/533adb94-2996-4537-904f-e69c53a9f23c"
    },
    {
      "event": {
        "value": "finish",
        "_aj_serialized": "ActiveJob::Serializers::SymbolSerializer"
      },
      "_aj_symbol_keys": [
        "event"
      ]
    }
  ],
  "job_class": "ExampleJob::BatchJob::CallbackJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T09:19:37.314296095Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "3ae3580c-0804-44d3-94cd-daa5776f42b5",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 09:19:37 UTC",
    "performed_at": "2024-11-21 09:19:37 UTC",
    "finished_at": "2024-11-21 09:19:37 UTC",
    "error": null,
    "created_at": "2024-11-21 09:19:37 UTC",
    "updated_at": "2024-11-21 09:19:37 UTC",
    "active_job_id": "3ae3580c-0804-44d3-94cd-daa5776f42b5",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "533adb94-2996-4537-904f-e69c53a9f23c",
    "executions_count": 1,
    "job_class": "ExampleJob::BatchJob::CallbackJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Задачі в пакеті
Роботи
Черга
Пріоритет
Спроби
Черга
default
Пріоритет
0
Спроби
3
{
  "job_id": "f655ba55-1868-4513-888c-29a4cf2c1b76",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T09:19:34.185451756Z",
  "scheduled_at": "2024-11-21T09:19:37.287764762Z",
  "provider_job_id": "f655ba55-1868-4513-888c-29a4cf2c1b76",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "f655ba55-1868-4513-888c-29a4cf2c1b76",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 09:19:37 UTC",
    "performed_at": "2024-11-21 09:19:37 UTC",
    "finished_at": "2024-11-21 09:19:37 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2024-11-21 09:19:34 UTC",
    "updated_at": "2024-11-21 09:19:37 UTC",
    "active_job_id": "f655ba55-1868-4513-888c-29a4cf2c1b76",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "533adb94-2996-4537-904f-e69c53a9f23c",
    "batch_callback_id": null,
    "executions_count": 3,
    "job_class": "ExampleJob",
    "error_event": "retry_stopped",
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Черга
default
Пріоритет
0
Спроби
2
Успішно виконано
{
  "job_id": "987a5722-fbd6-4802-a92f-faa8c7f66650",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_once"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T09:19:30.712507298Z",
  "scheduled_at": "2024-11-21T09:19:33.835714554Z",
  "provider_job_id": "987a5722-fbd6-4802-a92f-faa8c7f66650",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job": {
    "id": "987a5722-fbd6-4802-a92f-faa8c7f66650",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 09:19:33 UTC",
    "performed_at": "2024-11-21 09:19:34 UTC",
    "finished_at": "2024-11-21 09:19:34 UTC",
    "error": null,
    "created_at": "2024-11-21 09:19:30 UTC",
    "updated_at": "2024-11-21 09:19:34 UTC",
    "active_job_id": "987a5722-fbd6-4802-a92f-faa8c7f66650",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "533adb94-2996-4537-904f-e69c53a9f23c",
    "batch_callback_id": null,
    "executions_count": 2,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Черга
default
Пріоритет
0
Спроби
1
Успішно виконано
{
  "job_id": "64b2bb7d-18d9-49d3-85cf-8bf4dd7da2bd",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "success"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T09:19:30.175344513Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "64b2bb7d-18d9-49d3-85cf-8bf4dd7da2bd",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 09:19:30 UTC",
    "performed_at": "2024-11-21 09:19:30 UTC",
    "finished_at": "2024-11-21 09:19:30 UTC",
    "error": null,
    "created_at": "2024-11-21 09:19:30 UTC",
    "updated_at": "2024-11-21 09:19:30 UTC",
    "active_job_id": "64b2bb7d-18d9-49d3-85cf-8bf4dd7da2bd",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "533adb94-2996-4537-904f-e69c53a9f23c",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}