OpenClaw operations guide

OpenClaw isolated cron job uses more tokens on every run

Short answer. Check whether an isolated OpenClaw cron job gets a fresh session, then trace growing input tokens to the prompt, bootstrap files, or tool output. Start with a single recurring agent-turn job whose per-run input is growing. Match each reading to the job ID, run ID, and model, then test whether old turns actually carry forward.

Last updated

The OpenClaw Token Bill Kit ($24.95) is an optional paid kit with a spend-audit checklist and worksheets for testing cost controls.

By CWYN · Reviewed November 18, 2026 · Check your installed version’s help before running these commands

Start with a single recurring agent-turn job whose per-run input is growing. Match each reading to the job ID, run ID, and model, then test whether old turns actually carry forward.

1. Read the saved session target

Look up the intended job with openclaw automations get <job-id> --json and check its saved target after any edit. The 2026.11.5 CLI reference defines isolated as a fresh transcript and session ID for each run. main, current, and session:<id> can use a continuing conversation.

2. Compare two comparable runs

Use openclaw automations runs <job-id> to find the occurrences and correlate them with the runtime’s session and transcript evidence. Compare actual session IDs and the presence of prior turns. The job ID can stay constant while each run gets a new session. A recurring report may also appear in its creating conversation as a delivery result while its execution stays isolated.

3. Check the inputs a fresh run still receives

If session IDs change, inspect the saved prompt, workspace bootstrap, job scratch if used, and the size of retrieved records or tool results. Compare input and cached-input counts using the same model and accounting source. A larger report source or tool response can increase input even with a fresh run.

4. Test one smaller input under the same model

Copy the job into an isolated test with a fixed synthetic dataset and disable outbound actions. Keep the model and task constant. Narrow one source of input and compare the result with an answer key. The current CLI reference documents --light-context for isolated agent-turn jobs; test it only if the job can run without its workspace bootstrap instructions.

5. Verify output quality and usage on the schedule

Apply the tested change to the intended job and check consecutive scheduled occurrences. Record the session IDs, model, comparable input counts, and whether the expected result was complete. If a continuing session is intentional, preserve its handoff and bound the growing input. If isolation is saved but prior turns still carry across runs, retain redacted run evidence for a version-specific report.

Get your free CWYN Score to choose your next setup improvement.

Next steps