Atributos
{
  "id": "9178ce3e-c2e6-4f01-b7a6-195fc1af2eec",
  "created_at": "2025-08-30 01:37:00 UTC",
  "updated_at": "2025-08-30 01:54:31 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:37:00 UTC",
  "discarded_at": "2025-08-30 01:37:06 UTC",
  "finished_at": "2025-08-30 01:54:31 UTC",
  "jobs_finished_at": "2025-08-30 01:54:31 UTC"
}
Tarefas de Callback
Tarefas
Fila
Prioridade
Rótulos
Tentativas
Fila
default
Prioridade
0
Rótulos
Tentativas
1
Concluído com sucesso
{
  "job_id": "74ced1c7-10b4-4b82-ab03-f99024eddeb6",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/9178ce3e-c2e6-4f01-b7a6-195fc1af2eec"
    },
    {
      "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:54:31.108895173Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "74ced1c7-10b4-4b82-ab03-f99024eddeb6",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-08-30 01:54:31 UTC",
    "performed_at": "2025-08-30 01:54:31 UTC",
    "finished_at": "2025-08-30 01:54:31 UTC",
    "error": null,
    "created_at": "2025-08-30 01:54:31 UTC",
    "updated_at": "2025-08-30 01:54:31 UTC",
    "active_job_id": "74ced1c7-10b4-4b82-ab03-f99024eddeb6",
    "concurrency_key": "ExampleJob::BatchJob::CallbackJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "9178ce3e-c2e6-4f01-b7a6-195fc1af2eec",
    "executions_count": 1,
    "job_class": "ExampleJob::BatchJob::CallbackJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Tarefas em Lote
Tarefas
Fila
Prioridade
Rótulos
Tentativas
Fila
default
Prioridade
0
Rótulos
dead
Tentativas
3
{
  "job_id": "892e59e6-5dbe-4c3b-8351-bb53d0778f8d",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2025-08-30T01:37:03.297726143Z",
  "scheduled_at": "2025-08-30T01:37:06.579894462Z",
  "provider_job_id": "892e59e6-5dbe-4c3b-8351-bb53d0778f8d",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "892e59e6-5dbe-4c3b-8351-bb53d0778f8d",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-08-30 01:37:06 UTC",
    "performed_at": "2025-08-30 01:37:06 UTC",
    "finished_at": "2025-08-30 01:37:06 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2025-08-30 01:37:03 UTC",
    "updated_at": "2025-08-30 01:37:06 UTC",
    "active_job_id": "892e59e6-5dbe-4c3b-8351-bb53d0778f8d",
    "concurrency_key": "ExampleJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": "9178ce3e-c2e6-4f01-b7a6-195fc1af2eec",
    "batch_callback_id": null,
    "executions_count": 3,
    "job_class": "ExampleJob",
    "error_event": "retry_stopped",
    "labels": [
      "dead"
    ],
    "locked_by_id": null,
    "locked_at": null
  }
}
Fila
default
Prioridade
0
Rótulos
error_five_times
Tentativas
6
Concluído com sucesso
{
  "job_id": "e11bd411-c2ed-482f-81d6-1761685b46c4",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2025-08-30T01:43:11.370667746Z",
  "scheduled_at": "2025-08-30T01:54:30.975756215Z",
  "provider_job_id": "e11bd411-c2ed-482f-81d6-1761685b46c4",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "e11bd411-c2ed-482f-81d6-1761685b46c4",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-08-30 01:54:30 UTC",
    "performed_at": "2025-08-30 01:54:30 UTC",
    "finished_at": "2025-08-30 01:54:31 UTC",
    "error": null,
    "created_at": "2025-08-30 01:43:11 UTC",
    "updated_at": "2025-08-30 01:54:31 UTC",
    "active_job_id": "e11bd411-c2ed-482f-81d6-1761685b46c4",
    "concurrency_key": "ExampleJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": "9178ce3e-c2e6-4f01-b7a6-195fc1af2eec",
    "batch_callback_id": null,
    "executions_count": 6,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": [
      "error_five_times"
    ],
    "locked_by_id": null,
    "locked_at": null
  }
}
Fila
default
Prioridade
0
Rótulos
error_five_times
Tentativas
6
Concluído com sucesso
{
  "job_id": "7e256a27-728a-4868-a385-cef7b20c9487",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2025-08-30T01:43:22.614116446Z",
  "scheduled_at": "2025-08-30T01:54:07.283238582Z",
  "provider_job_id": "7e256a27-728a-4868-a385-cef7b20c9487",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "7e256a27-728a-4868-a385-cef7b20c9487",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-08-30 01:54:07 UTC",
    "performed_at": "2025-08-30 01:54:07 UTC",
    "finished_at": "2025-08-30 01:54:07 UTC",
    "error": null,
    "created_at": "2025-08-30 01:43:22 UTC",
    "updated_at": "2025-08-30 01:54:07 UTC",
    "active_job_id": "7e256a27-728a-4868-a385-cef7b20c9487",
    "concurrency_key": "ExampleJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": "9178ce3e-c2e6-4f01-b7a6-195fc1af2eec",
    "batch_callback_id": null,
    "executions_count": 6,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": [
      "error_five_times"
    ],
    "locked_by_id": null,
    "locked_at": null
  }
}