DigestOps

How do you run agents on a schedule, unattended?

16 posts

Playbook

Practitioners run unattended agents using cron or launchd to trigger workflows on local hardware or cloud environments.

  1. Configure launchd for stability

    When using launchd, set a specific WorkingDirectory to avoid walking the disk, use a fixed binary path, and set DISABLE_AUTOUPDATER=1 to prevent permission identity changes [1, 3]. 13

  2. Implement job idempotency and status checks

    To handle duplicate triggers, scripts should check for an existing completion marker and exit early if the task is done [4, 10]. 410

  3. Manage task execution and timeouts

    Divide long tasks into segments with specific timeouts, such as 1500 seconds, and use markers to allow rerunning only failed steps . 10

  4. Optimize GitHub Actions workflows

    Run agents on GitHub Actions cron with concurrency groups to prevent multiple agents from editing the same files, and use separate steps to validate files before committing . 2

  5. Control costs with pre-LLM filtering

    Before hitting the LLM, use a low-latency classifier to filter, deduplicate, and score content as hype, fact, or signal . 5

  6. Enable fully autonomous long-running sessions

    Use auto mode to bypass approval requests and run on cloud Claude Code so tasks continue after closing a laptop . 9

Choosing between approaches

GitHub Actions cron scheduling can be delayed, so practitioners are advised to avoid scheduling at the top of the hour 2.

Not covered yet

The material does not cover how to handle security credentials or secrets specifically for these automated schedules.

Drawn from the top 10 posts for this question; the numbers match the list below · updated 2026-11-28
Type

Posts

6 more posts to see