AI Tutorials · Codex and Claude Code

Codex Automations and Claude Code Scheduled Tasks: A Business Owner's Audit to Cut Waste

Business owners: Codex automations and Claude Code scheduled tasks set every 5 or 10 minutes can take 10% of weekly usage. Audit them with this prompt.

Shanee Moret thumbnail with the words Audit Scheduled Tasks

To audit your Codex automations and Claude Code scheduled tasks, list every agent running on a timer, how often it runs, and how often a run found something new, then slow down the ones that rarely find anything. I've seen forgotten schedules quietly take about 10% of a business's weekly usage. I help established business owners build agents inside their companies, many of which run on a schedule. You will probably find at least one you can run less often, and that decreases your usage.

20 Ways to Optimize How You Use Codex and Claude Code Part 2. Watch the full video on YouTube (published 2026-10-03).

In short: - Shanee has seen automations set to run every 5 or 10 minutes that were needed once or three times a day, taking about 10% of the owner's token usage (the share of the plan's AI allowance used) every week. - Run the schedule audit prompt to list each one with how often it runs and how often a run found something new in the last 30 days. - Match each timer to how fast the business problem changes: late bills each morning, file tidying once a day, the customer list once a week.

Part of the series: How to Reduce Codex and Claude Code Token Usage: 20 Ways. This is way 19. Previous: Turn repeat agent work into a script · Next: Build a weekly token usage audit agent

1. Audit your Codex automations and scheduled agents

A scheduled agent is any agent, automation or task you set to run on a timer, like every morning or every ten minutes, without you starting it. In Codex, OpenAI's docs describe recurring tasks that run in the background and are reviewed in the app's Scheduled section (OpenAI docs). Claude Code can schedule work in the cloud, in its desktop app, or with /loop inside an open session (Anthropic docs).

I've seen people that have automations that are on every five minutes or 10 minutes that they really need for only maybe once a day or three times a day. They'll set it once, they'll forget it, and then the next thing that they know, it's taking up 10% of their token usage every single week.

Way 19 card titled "Check every agent that runs on a timer" with what it is, why it matters, and the new-bills inbox example
Shanee's card for way 19. Timed agents are easy to set up and easy to forget, and a small team rarely goes back to check on them. From Shanee's field guide on the 20 ways. Shown in the video at 22:08.

Why scheduled tasks drain your usage in the background

The example on Shanee's slide: an agent checks your inbox for new bills every 10 minutes, all day. New bills come in twice a day, so most checks find nothing, but they still count against your limit. If it checks once at 8am and once at 2pm, you still get the bills on time and the hidden drain is gone.

An agent can run every five or ten minutes. That doesn't mean it should. If it checks 144 times a day and finds nothing new 143 times, that is a lot of wasted checks.

How often one timed agent runs Runs in a year
Every 5 minutes 105,120
Every 10 minutes 52,560
Hourly 8,760
Daily 365
Bar chart of how many times one timed agent runs in a year: 105,120 every 5 minutes, 52,560 every 10 minutes, 8,760 hourly, 365 daily
Changing one every-10-minutes agent to once a day takes you from 52,560 runs a year to 365. From Shanee's field guide on the 20 ways. Shown in the video at 22:50.

2. Run the schedule audit prompt

You need to do an audit of your scheduled agents. You need to see which ones are on a schedule and which ones need to be on a schedule. Shanee put the prompt on screen with a copy button. Here it is to copy:

Copy-ready
List every scheduled agent and automation I have running.
For each one, show: what it does, how often it runs, and how often a run
found something new in the last 30 days.

Recommend a new schedule for each one, based on how fast that business problem actually changes.
Do not change any schedules until I approve.
The "Prompt: Schedule audit" box with a Copy button
The schedule audit prompt. From Shanee's field guide on the 20 ways. Shown in the video at 22:55.

How to audit scheduled tasks in Codex or Claude Code

Step 1. Open a new chat (see way 12) and paste the prompt.

Step 2. Read the list. For each agent, look at two numbers side by side: how often it runs, and how often a run found something new in the last 30 days.

Step 3. For each recommendation, ask: what would really happen if the agent waited another hour, day, or week?

Step 4. Approve the new schedules you agree with. The prompt tells the agent not to change any schedule until you approve.

You will find at least probably one that you could decrease the number of times that it's being scheduled, and thereby decrease your usage.

3. How often should a scheduled agent run? Match it to how fast the business problem changes

The prompt asks for a new schedule based on how fast that business problem actually changes. Shanee's field guide gives a few starting points:

Agent A schedule that usually fits
Chases late bills Each morning
Tidies files Once a day
Checks your customer list Once a week
Checks app passwords (Shanee's own build) Every 6 hours, not every 10 minutes. Passwords don't run out that fast, and four checks a day is plenty

And if a timed job does the same thing every time, it may not need to be an agent at all. Turn it into a script (way 18). In Shanee's own weekly report, an hourly health check ran the same script 154 times in one week and used 8.5% of her week (way 20).

Frequently asked questions

Can Codex run scheduled tasks?

Yes. OpenAI's Codex documentation describes scheduled tasks that run recurring work in the background, and you review active, paused and completed tasks and recent runs in the Scheduled section of the app (OpenAI docs). Checks that find nothing still count against your limit, so audit the schedule.

Can Claude Code run scheduled tasks?

Yes. Anthropic's Claude Code docs list three options: cloud routines, desktop scheduled tasks that run on your machine, and /loop for repeating a prompt inside an open session, where recurring tasks expire after seven days (Anthropic docs).

How much usage can a forgotten schedule cost a small business?

About 10% of weekly token usage, in the cases Shanee has seen. Those were automations set to run every five or ten minutes that were only needed once a day or three times a day (22:35).

Will the audit change my schedules automatically?

No. The last line of the prompt is "Do not change any schedules until I approve." Codex or Claude Code only lists and recommends.

How often should I repeat the audit?

Run it once now. After that, the weekly helper in way 20 flags scheduled runs that found nothing as part of its regular report.

Sources

Official / Primary Sources