Атрибути
{
  "id": "c69acb05-1992-4d3f-b210-e0ab9c908e05",
  "created_at": "2024-11-21 08:31:30 UTC",
  "updated_at": "2024-11-21 08:31:36 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 08:31:30 UTC",
  "discarded_at": "2024-11-21 08:31:36 UTC",
  "finished_at": "2024-11-21 08:31:36 UTC",
  "jobs_finished_at": "2024-11-21 08:31:36 UTC",
  "properties": {
    "foo": "bar"
  }
}
Задачі з зворотнім викликом
Роботи
Черга
Пріоритет
Спроби
Черга
default
Пріоритет
0
Спроби
1
Успішно виконано
{
  "job_id": "8bf64c77-5bb3-49d9-bc03-f46c8439bfd3",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/c69acb05-1992-4d3f-b210-e0ab9c908e05"
    },
    {
      "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-21T08:31:36.637583331Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "8bf64c77-5bb3-49d9-bc03-f46c8439bfd3",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:31:36 UTC",
    "performed_at": "2024-11-21 08:31:36 UTC",
    "finished_at": "2024-11-21 08:31:36 UTC",
    "error": null,
    "created_at": "2024-11-21 08:31:36 UTC",
    "updated_at": "2024-11-21 08:31:36 UTC",
    "active_job_id": "8bf64c77-5bb3-49d9-bc03-f46c8439bfd3",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "c69acb05-1992-4d3f-b210-e0ab9c908e05",
    "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": "c3caf3af-479e-47e1-af1f-999c6725095d",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:31:33.387818305Z",
  "scheduled_at": "2024-11-21T08:31:36.603985722Z",
  "provider_job_id": "c3caf3af-479e-47e1-af1f-999c6725095d",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "c3caf3af-479e-47e1-af1f-999c6725095d",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:31:36 UTC",
    "performed_at": "2024-11-21 08:31:36 UTC",
    "finished_at": "2024-11-21 08:31:36 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2024-11-21 08:31:33 UTC",
    "updated_at": "2024-11-21 08:31:36 UTC",
    "active_job_id": "c3caf3af-479e-47e1-af1f-999c6725095d",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "c69acb05-1992-4d3f-b210-e0ab9c908e05",
    "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": "973a7e09-3b3b-4c9c-8c0b-b46e0114e5a3",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_once"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:31:30.221467867Z",
  "scheduled_at": "2024-11-21T08:31:33.337229430Z",
  "provider_job_id": "973a7e09-3b3b-4c9c-8c0b-b46e0114e5a3",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job": {
    "id": "973a7e09-3b3b-4c9c-8c0b-b46e0114e5a3",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:31:33 UTC",
    "performed_at": "2024-11-21 08:31:33 UTC",
    "finished_at": "2024-11-21 08:31:33 UTC",
    "error": null,
    "created_at": "2024-11-21 08:31:30 UTC",
    "updated_at": "2024-11-21 08:31:33 UTC",
    "active_job_id": "973a7e09-3b3b-4c9c-8c0b-b46e0114e5a3",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "c69acb05-1992-4d3f-b210-e0ab9c908e05",
    "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": "a6d68f22-158c-4ef0-ab49-8cf87a87e15c",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "success"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:31:30.089020057Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "a6d68f22-158c-4ef0-ab49-8cf87a87e15c",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:31:30 UTC",
    "performed_at": "2024-11-21 08:31:30 UTC",
    "finished_at": "2024-11-21 08:31:30 UTC",
    "error": null,
    "created_at": "2024-11-21 08:31:30 UTC",
    "updated_at": "2024-11-21 08:31:30 UTC",
    "active_job_id": "a6d68f22-158c-4ef0-ab49-8cf87a87e15c",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "c69acb05-1992-4d3f-b210-e0ab9c908e05",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}