属性
{
  "id": "7319d83f-c39a-4e79-a15d-96890c2d1356",
  "callback_priority": null,
  "callback_queue_name": null,
  "created_at": "2026-10-14 14:32:00 UTC",
  "description": "Example batch",
  "discarded_at": null,
  "enqueued_at": "2026-10-14 14:32:00 UTC",
  "finished_at": "2026-10-14 14:49:28 UTC",
  "jobs_finished_at": "2026-10-14 14:49:28 UTC",
  "on_discard": null,
  "on_finish": "ExampleJob::BatchJob::CallbackJob",
  "on_success": null,
  "properties": {
    "foo": "bar"
  },
  "updated_at": "2026-10-14 14:49:28 UTC"
}
回调任务
任务
队列
优先级
尝试次数
队列
default
优先级
0
尝试次数
1
已成功
{
  "job_id": "40d63e16-2cd9-40ed-93ab-fd1ee418820b",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/7319d83f-c39a-4e79-a15d-96890c2d1356"
    },
    {
      "event": {
        "value": "finish",
        "_aj_serialized": "ActiveJob::Serializers::SymbolSerializer"
      },
      "_aj_symbol_keys": [
        "event"
      ]
    }
  ],
  "job_class": "ExampleJob::BatchJob::CallbackJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2026-10-14T14:49:28.817887946Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "40d63e16-2cd9-40ed-93ab-fd1ee418820b",
    "active_job_id": "40d63e16-2cd9-40ed-93ab-fd1ee418820b",
    "batch_callback_id": "7319d83f-c39a-4e79-a15d-96890c2d1356",
    "batch_id": null,
    "concurrency_key": "ExampleJob::BatchJob::CallbackJob",
    "created_at": "2026-10-14 14:49:28 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": null,
    "error_event": null,
    "executions_count": 1,
    "finished_at": "2026-10-14 14:49:28 UTC",
    "job_class": "ExampleJob::BatchJob::CallbackJob",
    "labels": null,
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-10-14 14:49:28 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-10-14 14:49:28 UTC",
    "updated_at": "2026-10-14 14:49:28 UTC"
  }
}
批量任务
任务
队列
优先级
尝试次数
队列
default
优先级
0
尝试次数
6
已成功
{
  "job_id": "d7b1e991-bc0e-4953-875e-9037a2c31170",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2026-10-14T14:38:46.669301023Z",
  "scheduled_at": "2026-10-14T14:49:28.759098146Z",
  "provider_job_id": "d7b1e991-bc0e-4953-875e-9037a2c31170",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "d7b1e991-bc0e-4953-875e-9037a2c31170",
    "active_job_id": "d7b1e991-bc0e-4953-875e-9037a2c31170",
    "batch_callback_id": null,
    "batch_id": "7319d83f-c39a-4e79-a15d-96890c2d1356",
    "concurrency_key": "ExampleJob",
    "created_at": "2026-10-14 14:38:46 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": null,
    "error_event": null,
    "executions_count": 6,
    "finished_at": "2026-10-14 14:49:28 UTC",
    "job_class": "ExampleJob",
    "labels": [
      "error_five_times"
    ],
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-10-14 14:49:28 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-10-14 14:49:28 UTC",
    "updated_at": "2026-10-14 14:49:28 UTC"
  }
}
队列
default
优先级
0
尝试次数
2
已成功
{
  "job_id": "94bcdaf0-1c6f-4c9b-855c-56e4d9c81933",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_once"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2026-10-14T14:32:00.975925183Z",
  "scheduled_at": "2026-10-14T14:32:04.013689290Z",
  "provider_job_id": "94bcdaf0-1c6f-4c9b-855c-56e4d9c81933",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job": {
    "id": "94bcdaf0-1c6f-4c9b-855c-56e4d9c81933",
    "active_job_id": "94bcdaf0-1c6f-4c9b-855c-56e4d9c81933",
    "batch_callback_id": null,
    "batch_id": "7319d83f-c39a-4e79-a15d-96890c2d1356",
    "concurrency_key": "ExampleJob",
    "created_at": "2026-10-14 14:32:00 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": null,
    "error_event": null,
    "executions_count": 2,
    "finished_at": "2026-10-14 14:32:04 UTC",
    "job_class": "ExampleJob",
    "labels": [
      "error_once"
    ],
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-10-14 14:32:04 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-10-14 14:32:04 UTC",
    "updated_at": "2026-10-14 14:32:04 UTC"
  }
}
队列
default
优先级
0
尝试次数
2
已成功
{
  "job_id": "e9394db8-cd2d-4d6e-9bba-cad9a8c7a125",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_once"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2026-10-14T14:32:00.699467919Z",
  "scheduled_at": "2026-10-14T14:32:03.778395167Z",
  "provider_job_id": "e9394db8-cd2d-4d6e-9bba-cad9a8c7a125",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job": {
    "id": "e9394db8-cd2d-4d6e-9bba-cad9a8c7a125",
    "active_job_id": "e9394db8-cd2d-4d6e-9bba-cad9a8c7a125",
    "batch_callback_id": null,
    "batch_id": "7319d83f-c39a-4e79-a15d-96890c2d1356",
    "concurrency_key": "ExampleJob",
    "created_at": "2026-10-14 14:32:00 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": null,
    "error_event": null,
    "executions_count": 2,
    "finished_at": "2026-10-14 14:32:03 UTC",
    "job_class": "ExampleJob",
    "labels": [
      "error_once"
    ],
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-10-14 14:32:03 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-10-14 14:32:03 UTC",
    "updated_at": "2026-10-14 14:32:03 UTC"
  }
}