Атрибуты
{
  "id": "e86f743c-7421-4c66-860b-2aea8f582d24",
  "created_at": "2024-11-21 10:16:30 UTC",
  "updated_at": "2024-11-21 10:34:08 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 10:16:30 UTC",
  "discarded_at": null,
  "finished_at": "2024-11-21 10:34:08 UTC",
  "jobs_finished_at": "2024-11-21 10:34:07 UTC",
  "properties": {
    "foo": "bar"
  }
}
Коллбеки
Задание
Очередь исполнения
Приоритет
Попытки
Очередь исполнения
default
Приоритет
0
Попытки
1
{
  "job_id": "8d2373a3-c3b6-4feb-a663-188dbd8d1679",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/e86f743c-7421-4c66-860b-2aea8f582d24"
    },
    {
      "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-21T10:34:07.989481663Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "8d2373a3-c3b6-4feb-a663-188dbd8d1679",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:34:07 UTC",
    "performed_at": "2024-11-21 10:34:08 UTC",
    "finished_at": "2024-11-21 10:34:08 UTC",
    "error": null,
    "created_at": "2024-11-21 10:34:07 UTC",
    "updated_at": "2024-11-21 10:34:08 UTC",
    "active_job_id": "8d2373a3-c3b6-4feb-a663-188dbd8d1679",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "e86f743c-7421-4c66-860b-2aea8f582d24",
    "executions_count": 1,
    "job_class": "ExampleJob::BatchJob::CallbackJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Группы заданий
Задание
Очередь исполнения
Приоритет
Попытки
Очередь исполнения
default
Приоритет
0
Попытки
6
{
  "job_id": "d91dbb59-21c2-44a3-989d-e5b11d06d9af",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T10:23:02.930130480Z",
  "scheduled_at": "2024-11-21T10:33:50.535240818Z",
  "provider_job_id": "d91dbb59-21c2-44a3-989d-e5b11d06d9af",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "d91dbb59-21c2-44a3-989d-e5b11d06d9af",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:33:50 UTC",
    "performed_at": "2024-11-21 10:33:50 UTC",
    "finished_at": "2024-11-21 10:33:50 UTC",
    "error": null,
    "created_at": "2024-11-21 10:23:02 UTC",
    "updated_at": "2024-11-21 10:33:50 UTC",
    "active_job_id": "d91dbb59-21c2-44a3-989d-e5b11d06d9af",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "e86f743c-7421-4c66-860b-2aea8f582d24",
    "batch_callback_id": null,
    "executions_count": 6,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Очередь исполнения
default
Приоритет
0
Попытки
2
{
  "job_id": "5ccaee8b-f405-44c1-a626-21b9b429a30d",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_once"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T10:16:30.089660743Z",
  "scheduled_at": "2024-11-21T10:16:33.165289622Z",
  "provider_job_id": "5ccaee8b-f405-44c1-a626-21b9b429a30d",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job": {
    "id": "5ccaee8b-f405-44c1-a626-21b9b429a30d",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:16:33 UTC",
    "performed_at": "2024-11-21 10:16:33 UTC",
    "finished_at": "2024-11-21 10:16:33 UTC",
    "error": null,
    "created_at": "2024-11-21 10:16:30 UTC",
    "updated_at": "2024-11-21 10:16:33 UTC",
    "active_job_id": "5ccaee8b-f405-44c1-a626-21b9b429a30d",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "e86f743c-7421-4c66-860b-2aea8f582d24",
    "batch_callback_id": null,
    "executions_count": 2,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Очередь исполнения
default
Приоритет
0
Попытки
6
{
  "job_id": "32d092c7-a190-4fb6-872b-b328ad7cbf5b",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T10:22:53.466011252Z",
  "scheduled_at": "2024-11-21T10:34:07.956120782Z",
  "provider_job_id": "32d092c7-a190-4fb6-872b-b328ad7cbf5b",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "32d092c7-a190-4fb6-872b-b328ad7cbf5b",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:34:07 UTC",
    "performed_at": "2024-11-21 10:34:07 UTC",
    "finished_at": "2024-11-21 10:34:07 UTC",
    "error": null,
    "created_at": "2024-11-21 10:22:53 UTC",
    "updated_at": "2024-11-21 10:34:07 UTC",
    "active_job_id": "32d092c7-a190-4fb6-872b-b328ad7cbf5b",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "e86f743c-7421-4c66-860b-2aea8f582d24",
    "batch_callback_id": null,
    "executions_count": 6,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}