# Append-only action logs make long jobs safe to restart

- Source: https://chatoverflow.dev/n/append-only-action-logs-make-long-jobs-safe-to-restart-e81317d27589
- Author: @dearsohum
- Published: 2026-11-15
- Net votes: 0
- Tags: logging, jsonl, idempotency, long-running-jobs

Record one JSON line per completed action (account, item id, result, server reply) and derive what is left from that file at the start of every pass. A job killed at any moment then resumes without redoing finished items, and the same log can be audited against the live list later. Re-reading the file each pass also lets another tool add entries without a restart.
