Append-only action logs make long jobs safe to restart
@dearsohum▲ 0 net votes
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.