Атрибуты
{
  "id": "76e0e4dc-0084-44ed-bdb6-1182f7a8050a",
  "created_at": "2025-08-30 01:23:30 UTC",
  "updated_at": "2025-08-30 01:41:27 UTC",
  "description": "Example batch",
  "properties": {
    "foo": "bar"
  },
  "on_finish": "ExampleJob::BatchJob::CallbackJob",
  "on_success": null,
  "on_discard": null,
  "callback_queue_name": null,
  "callback_priority": null,
  "enqueued_at": "2025-08-30 01:23:30 UTC",
  "discarded_at": null,
  "finished_at": "2025-08-30 01:41:27 UTC",
  "jobs_finished_at": "2025-08-30 01:41:27 UTC"
}
Коллбеки
Задание
Очередь исполнения
Приоритет
Метки
Попытки
Очередь исполнения
default
Приоритет
0
Метки
Попытки
1
{
  "job_id": "317ac007-dc5c-43a0-8188-db5c2804fde7",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/76e0e4dc-0084-44ed-bdb6-1182f7a8050a"
    },
    {
      "event": {
        "value": "finish",
        "_aj_serialized": "ActiveJob::Serializers::SymbolSerializer"
      },
      "_aj_symbol_keys": [
        "event"
      ]
    }
  ],
  "job_class": "ExampleJob::BatchJob::CallbackJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2025-08-30T01:41:27.895228244Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "317ac007-dc5c-43a0-8188-db5c2804fde7",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-08-30 01:41:27 UTC",
    "performed_at": "2025-08-30 01:41:27 UTC",
    "finished_at": "2025-08-30 01:41:27 UTC",
    "error": null,
    "created_at": "2025-08-30 01:41:27 UTC",
    "updated_at": "2025-08-30 01:41:27 UTC",
    "active_job_id": "317ac007-dc5c-43a0-8188-db5c2804fde7",
    "concurrency_key": "ExampleJob::BatchJob::CallbackJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "76e0e4dc-0084-44ed-bdb6-1182f7a8050a",
    "executions_count": 1,
    "job_class": "ExampleJob::BatchJob::CallbackJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Группы заданий
Задание
Очередь исполнения
Приоритет
Метки
Попытки
Очередь исполнения
default
Приоритет
0
Метки
error_five_times
Попытки
6
{
  "job_id": "d2b36581-6a1f-482b-9630-98496626d34d",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2025-08-30T01:30:07.219288529Z",
  "scheduled_at": "2025-08-30T01:41:27.806624080Z",
  "provider_job_id": "d2b36581-6a1f-482b-9630-98496626d34d",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "d2b36581-6a1f-482b-9630-98496626d34d",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-08-30 01:41:27 UTC",
    "performed_at": "2025-08-30 01:41:27 UTC",
    "finished_at": "2025-08-30 01:41:27 UTC",
    "error": null,
    "created_at": "2025-08-30 01:30:07 UTC",
    "updated_at": "2025-08-30 01:41:27 UTC",
    "active_job_id": "d2b36581-6a1f-482b-9630-98496626d34d",
    "concurrency_key": "ExampleJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": "76e0e4dc-0084-44ed-bdb6-1182f7a8050a",
    "batch_callback_id": null,
    "executions_count": 6,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": [
      "error_five_times"
    ],
    "locked_by_id": null,
    "locked_at": null
  }
}
Очередь исполнения
default
Приоритет
0
Метки
error_once
Попытки
2
{
  "job_id": "dc4e191f-34c9-4d3e-b2f3-475a27674e3d",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_once"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2025-08-30T01:23:30.170785796Z",
  "scheduled_at": "2025-08-30T01:23:33.283693945Z",
  "provider_job_id": "dc4e191f-34c9-4d3e-b2f3-475a27674e3d",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job": {
    "id": "dc4e191f-34c9-4d3e-b2f3-475a27674e3d",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-08-30 01:23:33 UTC",
    "performed_at": "2025-08-30 01:23:33 UTC",
    "finished_at": "2025-08-30 01:23:33 UTC",
    "error": null,
    "created_at": "2025-08-30 01:23:30 UTC",
    "updated_at": "2025-08-30 01:23:33 UTC",
    "active_job_id": "dc4e191f-34c9-4d3e-b2f3-475a27674e3d",
    "concurrency_key": "ExampleJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": "76e0e4dc-0084-44ed-bdb6-1182f7a8050a",
    "batch_callback_id": null,
    "executions_count": 2,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": [
      "error_once"
    ],
    "locked_by_id": null,
    "locked_at": null
  }
}
Очередь исполнения
default
Приоритет
0
Метки
error_five_times
Попытки
6
{
  "job_id": "f6ca192e-4109-4c10-aaf0-8513d03125cb",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2025-08-30T01:29:51.160809728Z",
  "scheduled_at": "2025-08-30T01:40:26.704021019Z",
  "provider_job_id": "f6ca192e-4109-4c10-aaf0-8513d03125cb",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "f6ca192e-4109-4c10-aaf0-8513d03125cb",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-08-30 01:40:26 UTC",
    "performed_at": "2025-08-30 01:40:26 UTC",
    "finished_at": "2025-08-30 01:40:26 UTC",
    "error": null,
    "created_at": "2025-08-30 01:29:51 UTC",
    "updated_at": "2025-08-30 01:40:26 UTC",
    "active_job_id": "f6ca192e-4109-4c10-aaf0-8513d03125cb",
    "concurrency_key": "ExampleJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": "76e0e4dc-0084-44ed-bdb6-1182f7a8050a",
    "batch_callback_id": null,
    "executions_count": 6,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": [
      "error_five_times"
    ],
    "locked_by_id": null,
    "locked_at": null
  }
}