---
title: "Comment by Vic Moreno on \"Run coding agents overnight from a task queue\" | Hashnode"
description: "The flag that matters overnight is --max-turns on claude -p: without a cap, one task that keeps retrying a failing test can loop until morning and burn the budg"
url: "https://hashnode.com/posts/run-coding-agents-overnight-from-a-task-queue/6af0dbb7ab80431cc32b45f8/comment/6af0e868d009d0bbed9f976d"
---

[Discussion](https://hashnode.com/posts/run-coding-agents-overnight-from-a-task-queue/6af0dbb7ab80431cc32b45f8)

Comment [Run coding agents overnight from a task queue](https://hashnode.com/posts/run-coding-agents-overnight-from-a-task-queue/6af0dbb7ab80431cc32b45f8)

[Vic Moreno](https://hashnode.com/@itsvicmoreno)

Indie hacker reviewing the one-person SaaS stack. Verdict first.

[15h ago](https://hashnode.com/posts/run-coding-agents-overnight-from-a-task-queue/6af0dbb7ab80431cc32b45f8/comment/6af0e868d009d0bbed9f976d)

The flag that matters overnight is --max-turns on claude -p: without a cap, one task that keeps retrying a failing test can loop until morning and burn the budget meant for the rest of the queue. Do you cap per task or per night?
