Атрибути
{
  "id": "9f3a5b38-5611-473a-88ad-039921f6caf3",
  "created_at": "2024-11-21 10:10:00 UTC",
  "updated_at": "2024-11-21 10:10:05 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:10:00 UTC",
  "discarded_at": null,
  "finished_at": "2024-11-21 10:10:05 UTC",
  "jobs_finished_at": "2024-11-21 10:10:05 UTC",
  "properties": {
    "foo": "bar"
  }
}
Задачі з зворотнім викликом
Роботи
Черга
Пріоритет
Спроби
Черга
default
Пріоритет
0
Спроби
1
Успішно виконано
{
  "job_id": "b07ba8fc-03d9-4093-9487-769228affeb4",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/9f3a5b38-5611-473a-88ad-039921f6caf3"
    },
    {
      "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:10:05.534413672Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "b07ba8fc-03d9-4093-9487-769228affeb4",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:10:05 UTC",
    "performed_at": "2024-11-21 10:10:05 UTC",
    "finished_at": "2024-11-21 10:10:05 UTC",
    "error": null,
    "created_at": "2024-11-21 10:10:05 UTC",
    "updated_at": "2024-11-21 10:10:05 UTC",
    "active_job_id": "b07ba8fc-03d9-4093-9487-769228affeb4",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "9f3a5b38-5611-473a-88ad-039921f6caf3",
    "executions_count": 1,
    "job_class": "ExampleJob::BatchJob::CallbackJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Задачі в пакеті
Роботи
Черга
Пріоритет
Спроби
Черга
default
Пріоритет
0
Спроби
1
Успішно виконано
{
  "job_id": "4d33dd0e-1c80-4a20-a6e8-71ebc9742a3c",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "slow"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T10:10:00.235126916Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "4d33dd0e-1c80-4a20-a6e8-71ebc9742a3c",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:10:00 UTC",
    "performed_at": "2024-11-21 10:10:00 UTC",
    "finished_at": "2024-11-21 10:10:05 UTC",
    "error": null,
    "created_at": "2024-11-21 10:10:00 UTC",
    "updated_at": "2024-11-21 10:10:05 UTC",
    "active_job_id": "4d33dd0e-1c80-4a20-a6e8-71ebc9742a3c",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "9f3a5b38-5611-473a-88ad-039921f6caf3",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Черга
default
Пріоритет
0
Спроби
2
Успішно виконано
{
  "job_id": "56951a9b-2e16-4dea-aa99-559e90e5c7d3",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_once"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T10:10:00.479358121Z",
  "scheduled_at": "2024-11-21T10:10:03.559389207Z",
  "provider_job_id": "56951a9b-2e16-4dea-aa99-559e90e5c7d3",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job": {
    "id": "56951a9b-2e16-4dea-aa99-559e90e5c7d3",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:10:03 UTC",
    "performed_at": "2024-11-21 10:10:03 UTC",
    "finished_at": "2024-11-21 10:10:03 UTC",
    "error": null,
    "created_at": "2024-11-21 10:10:00 UTC",
    "updated_at": "2024-11-21 10:10:03 UTC",
    "active_job_id": "56951a9b-2e16-4dea-aa99-559e90e5c7d3",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "9f3a5b38-5611-473a-88ad-039921f6caf3",
    "batch_callback_id": null,
    "executions_count": 2,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Черга
default
Пріоритет
0
Спроби
2
Успішно виконано
{
  "job_id": "1b45ba57-4d63-4063-a635-4482041fadcd",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_once"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T10:10:00.394809629Z",
  "scheduled_at": "2024-11-21T10:10:03.464098769Z",
  "provider_job_id": "1b45ba57-4d63-4063-a635-4482041fadcd",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job": {
    "id": "1b45ba57-4d63-4063-a635-4482041fadcd",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:10:03 UTC",
    "performed_at": "2024-11-21 10:10:03 UTC",
    "finished_at": "2024-11-21 10:10:03 UTC",
    "error": null,
    "created_at": "2024-11-21 10:10:00 UTC",
    "updated_at": "2024-11-21 10:10:03 UTC",
    "active_job_id": "1b45ba57-4d63-4063-a635-4482041fadcd",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "9f3a5b38-5611-473a-88ad-039921f6caf3",
    "batch_callback_id": null,
    "executions_count": 2,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}