Атрибути
{
  "id": "be0492ff-5298-444e-8054-e19bb7619c17",
  "created_at": "2025-08-30 01:32:30 UTC",
  "updated_at": "2025-08-30 01:49:55 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:32:30 UTC",
  "discarded_at": "2025-08-30 01:32:36 UTC",
  "finished_at": "2025-08-30 01:49:55 UTC",
  "jobs_finished_at": "2025-08-30 01:49:55 UTC"
}
Задачі з зворотнім викликом
Роботи
Черга
Пріоритет
Мітки
Спроби
Черга
default
Пріоритет
0
Мітки
Спроби
1
Успішно виконано
{
  "job_id": "21ec2c86-d6af-4965-9eca-3418abdfc719",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/be0492ff-5298-444e-8054-e19bb7619c17"
    },
    {
      "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:49:55.399940127Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "21ec2c86-d6af-4965-9eca-3418abdfc719",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-08-30 01:49:55 UTC",
    "performed_at": "2025-08-30 01:49:55 UTC",
    "finished_at": "2025-08-30 01:49:55 UTC",
    "error": null,
    "created_at": "2025-08-30 01:49:55 UTC",
    "updated_at": "2025-08-30 01:49:55 UTC",
    "active_job_id": "21ec2c86-d6af-4965-9eca-3418abdfc719",
    "concurrency_key": "ExampleJob::BatchJob::CallbackJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "be0492ff-5298-444e-8054-e19bb7619c17",
    "executions_count": 1,
    "job_class": "ExampleJob::BatchJob::CallbackJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Задачі в пакеті
Роботи
Черга
Пріоритет
Мітки
Спроби
Черга
default
Пріоритет
0
Мітки
dead
Спроби
3
{
  "job_id": "a8a8e567-1a82-4a76-82cb-1ad2caabee35",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2025-08-30T01:32:33.600521204Z",
  "scheduled_at": "2025-08-30T01:32:36.637260384Z",
  "provider_job_id": "a8a8e567-1a82-4a76-82cb-1ad2caabee35",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "a8a8e567-1a82-4a76-82cb-1ad2caabee35",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-08-30 01:32:36 UTC",
    "performed_at": "2025-08-30 01:32:36 UTC",
    "finished_at": "2025-08-30 01:32:36 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2025-08-30 01:32:33 UTC",
    "updated_at": "2025-08-30 01:32:36 UTC",
    "active_job_id": "a8a8e567-1a82-4a76-82cb-1ad2caabee35",
    "concurrency_key": "ExampleJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": "be0492ff-5298-444e-8054-e19bb7619c17",
    "batch_callback_id": null,
    "executions_count": 3,
    "job_class": "ExampleJob",
    "error_event": "retry_stopped",
    "labels": [
      "dead"
    ],
    "locked_by_id": null,
    "locked_at": null
  }
}
Черга
default
Пріоритет
0
Мітки
error_once
Спроби
2
Успішно виконано
{
  "job_id": "d8ea84f0-6c76-48ac-8294-a84de475164e",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_once"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2025-08-30T01:32:30.310094744Z",
  "scheduled_at": "2025-08-30T01:32:33.333407314Z",
  "provider_job_id": "d8ea84f0-6c76-48ac-8294-a84de475164e",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job": {
    "id": "d8ea84f0-6c76-48ac-8294-a84de475164e",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-08-30 01:32:33 UTC",
    "performed_at": "2025-08-30 01:32:33 UTC",
    "finished_at": "2025-08-30 01:32:33 UTC",
    "error": null,
    "created_at": "2025-08-30 01:32:30 UTC",
    "updated_at": "2025-08-30 01:32:33 UTC",
    "active_job_id": "d8ea84f0-6c76-48ac-8294-a84de475164e",
    "concurrency_key": "ExampleJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": "be0492ff-5298-444e-8054-e19bb7619c17",
    "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": "35e02839-b010-4f28-a523-ad9b06ef6da8",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2025-08-30T01:39:21.466116169Z",
  "scheduled_at": "2025-08-30T01:49:55.328773317Z",
  "provider_job_id": "35e02839-b010-4f28-a523-ad9b06ef6da8",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "35e02839-b010-4f28-a523-ad9b06ef6da8",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-08-30 01:49:55 UTC",
    "performed_at": "2025-08-30 01:49:55 UTC",
    "finished_at": "2025-08-30 01:49:55 UTC",
    "error": null,
    "created_at": "2025-08-30 01:39:21 UTC",
    "updated_at": "2025-08-30 01:49:55 UTC",
    "active_job_id": "35e02839-b010-4f28-a523-ad9b06ef6da8",
    "concurrency_key": "ExampleJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": "be0492ff-5298-444e-8054-e19bb7619c17",
    "batch_callback_id": null,
    "executions_count": 6,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": [
      "error_five_times"
    ],
    "locked_by_id": null,
    "locked_at": null
  }
}