Атрибути
{
  "id": "80ed24e7-3bdc-409e-9239-aee7cee12235",
  "created_at": "2024-11-21 09:15:30 UTC",
  "updated_at": "2024-11-21 09:15:38 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 09:15:30 UTC",
  "discarded_at": "2024-11-21 09:15:38 UTC",
  "finished_at": "2024-11-21 09:15:38 UTC",
  "jobs_finished_at": "2024-11-21 09:15:38 UTC",
  "properties": {
    "foo": "bar"
  }
}
Задачі з зворотнім викликом
Роботи
Черга
Пріоритет
Спроби
Черга
default
Пріоритет
0
Спроби
1
Успішно виконано
{
  "job_id": "99558a0b-787f-4837-80a8-b8dc0baeb047",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/80ed24e7-3bdc-409e-9239-aee7cee12235"
    },
    {
      "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-21T09:15:38.671276366Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "99558a0b-787f-4837-80a8-b8dc0baeb047",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 09:15:38 UTC",
    "performed_at": "2024-11-21 09:15:38 UTC",
    "finished_at": "2024-11-21 09:15:38 UTC",
    "error": null,
    "created_at": "2024-11-21 09:15:38 UTC",
    "updated_at": "2024-11-21 09:15:38 UTC",
    "active_job_id": "99558a0b-787f-4837-80a8-b8dc0baeb047",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "80ed24e7-3bdc-409e-9239-aee7cee12235",
    "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": "7baaa19e-5f41-4cf7-86d7-4a76b8fd89c7",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T09:15:33.679909091Z",
  "scheduled_at": "2024-11-21T09:15:36.803110347Z",
  "provider_job_id": "7baaa19e-5f41-4cf7-86d7-4a76b8fd89c7",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "7baaa19e-5f41-4cf7-86d7-4a76b8fd89c7",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 09:15:36 UTC",
    "performed_at": "2024-11-21 09:15:38 UTC",
    "finished_at": "2024-11-21 09:15:38 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2024-11-21 09:15:33 UTC",
    "updated_at": "2024-11-21 09:15:38 UTC",
    "active_job_id": "7baaa19e-5f41-4cf7-86d7-4a76b8fd89c7",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "80ed24e7-3bdc-409e-9239-aee7cee12235",
    "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
Спроби
3
{
  "job_id": "17afc5b8-d6cd-485e-b033-76cf36c2988c",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T09:15:33.597869276Z",
  "scheduled_at": "2024-11-21T09:15:36.852404201Z",
  "provider_job_id": "17afc5b8-d6cd-485e-b033-76cf36c2988c",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "17afc5b8-d6cd-485e-b033-76cf36c2988c",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 09:15:36 UTC",
    "performed_at": "2024-11-21 09:15:38 UTC",
    "finished_at": "2024-11-21 09:15:38 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2024-11-21 09:15:33 UTC",
    "updated_at": "2024-11-21 09:15:38 UTC",
    "active_job_id": "17afc5b8-d6cd-485e-b033-76cf36c2988c",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "80ed24e7-3bdc-409e-9239-aee7cee12235",
    "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
Спроби
1
Успішно виконано
{
  "job_id": "d5279d45-1e16-45e8-825e-71f481660f2f",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "success"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T09:15:30.176410637Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "d5279d45-1e16-45e8-825e-71f481660f2f",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 09:15:30 UTC",
    "performed_at": "2024-11-21 09:15:30 UTC",
    "finished_at": "2024-11-21 09:15:30 UTC",
    "error": null,
    "created_at": "2024-11-21 09:15:30 UTC",
    "updated_at": "2024-11-21 09:15:30 UTC",
    "active_job_id": "d5279d45-1e16-45e8-825e-71f481660f2f",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "80ed24e7-3bdc-409e-9239-aee7cee12235",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}