属性
{
  "id": "43abdda5-4bbf-43a8-ba44-deec5eedd84e",
  "callback_priority": null,
  "callback_queue_name": null,
  "created_at": "2026-10-14 14:29:00 UTC",
  "description": "Example batch",
  "discarded_at": null,
  "enqueued_at": "2026-10-14 14:29:00 UTC",
  "finished_at": "2026-10-14 14:46:35 UTC",
  "jobs_finished_at": "2026-10-14 14:46:35 UTC",
  "on_discard": null,
  "on_finish": "ExampleJob::BatchJob::CallbackJob",
  "on_success": null,
  "properties": {
    "foo": "bar"
  },
  "updated_at": "2026-10-14 14:46:35 UTC"
}
回调任务
任务
队列
优先级
尝试次数
队列
default
优先级
0
尝试次数
1
已成功
{
  "job_id": "eee724f2-0d72-428a-987a-ac67b9b2496b",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/43abdda5-4bbf-43a8-ba44-deec5eedd84e"
    },
    {
      "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:46:35.074230460Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "eee724f2-0d72-428a-987a-ac67b9b2496b",
    "active_job_id": "eee724f2-0d72-428a-987a-ac67b9b2496b",
    "batch_callback_id": "43abdda5-4bbf-43a8-ba44-deec5eedd84e",
    "batch_id": null,
    "concurrency_key": "ExampleJob::BatchJob::CallbackJob",
    "created_at": "2026-10-14 14:46:35 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": null,
    "error_event": null,
    "executions_count": 1,
    "finished_at": "2026-10-14 14:46:35 UTC",
    "job_class": "ExampleJob::BatchJob::CallbackJob",
    "labels": null,
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-10-14 14:46:35 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-10-14 14:46:35 UTC",
    "updated_at": "2026-10-14 14:46:35 UTC"
  }
}
批量任务
任务
队列
优先级
尝试次数
队列
default
优先级
0
尝试次数
6
已成功
{
  "job_id": "f45a1fdd-b955-4a60-b497-20841d640096",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2026-10-14T14:35:27.529695634Z",
  "scheduled_at": "2026-10-14T14:46:35.024618263Z",
  "provider_job_id": "f45a1fdd-b955-4a60-b497-20841d640096",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "f45a1fdd-b955-4a60-b497-20841d640096",
    "active_job_id": "f45a1fdd-b955-4a60-b497-20841d640096",
    "batch_callback_id": null,
    "batch_id": "43abdda5-4bbf-43a8-ba44-deec5eedd84e",
    "concurrency_key": "ExampleJob",
    "created_at": "2026-10-14 14:35:27 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": null,
    "error_event": null,
    "executions_count": 6,
    "finished_at": "2026-10-14 14:46:35 UTC",
    "job_class": "ExampleJob",
    "labels": [
      "error_five_times"
    ],
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-10-14 14:46:35 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-10-14 14:46:35 UTC",
    "updated_at": "2026-10-14 14:46:35 UTC"
  }
}
队列
default
优先级
0
尝试次数
3
已成功
{
  "job_id": "9965841b-5cd3-454f-ab50-eb4ebe6cbbcf",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "slow"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2026-10-14T14:29:10.956510735Z",
  "scheduled_at": "2026-10-14T14:29:30.948511030Z",
  "provider_job_id": "9965841b-5cd3-454f-ab50-eb4ebe6cbbcf",
  "exception_executions": {
    "[StandardError]": 2
  },
  "_good_job": {
    "id": "9965841b-5cd3-454f-ab50-eb4ebe6cbbcf",
    "active_job_id": "9965841b-5cd3-454f-ab50-eb4ebe6cbbcf",
    "batch_callback_id": null,
    "batch_id": "43abdda5-4bbf-43a8-ba44-deec5eedd84e",
    "concurrency_key": "ExampleJob",
    "created_at": "2026-10-14 14:29:10 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": null,
    "error_event": null,
    "executions_count": 3,
    "finished_at": "2026-10-14 14:29:23 UTC",
    "job_class": "ExampleJob",
    "labels": [
      "slow"
    ],
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-10-14 14:29:18 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-10-14 14:29:18 UTC",
    "updated_at": "2026-10-14 14:29:23 UTC"
  }
}
队列
default
优先级
0
尝试次数
2
已成功
{
  "job_id": "dfb4c115-fd6d-4ed7-a439-f9a04092b24b",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_once"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2026-10-14T14:29:02.542854969Z",
  "scheduled_at": "2026-10-14T14:29:05.551103443Z",
  "provider_job_id": "dfb4c115-fd6d-4ed7-a439-f9a04092b24b",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job": {
    "id": "dfb4c115-fd6d-4ed7-a439-f9a04092b24b",
    "active_job_id": "dfb4c115-fd6d-4ed7-a439-f9a04092b24b",
    "batch_callback_id": null,
    "batch_id": "43abdda5-4bbf-43a8-ba44-deec5eedd84e",
    "concurrency_key": "ExampleJob",
    "created_at": "2026-10-14 14:29:02 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": null,
    "error_event": null,
    "executions_count": 2,
    "finished_at": "2026-10-14 14:29:10 UTC",
    "job_class": "ExampleJob",
    "labels": [
      "error_once"
    ],
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-10-14 14:29:10 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-10-14 14:29:05 UTC",
    "updated_at": "2026-10-14 14:29:10 UTC"
  }
}