Skip to content
Last updated

Action Schedules

WebDesktop

An action schedule is a cadence attached to an action in Treasure AI Studio, so the action runs on its own — the Monday morning report already waiting when you open Studio, the nightly data check that only needs your attention when it fails. You keep the same action you run by hand; a schedule adds a clock to it.

Each run starts a fresh chat in the action's work folder, under your account, exactly as if you had clicked Run yourself. The run happens whether or not you are signed in, and the result waits for you as a chat you can open, read, and continue.

Schedule an action once the manual version has proven itself — when you already trust what the action produces and the only thing left to remove is the act of starting it.

Prerequisites

  • Signed in to Treasure AI Studio (Getting Started)
  • At least one action in the work folder (Actions) — plain skills cannot be scheduled

How a Scheduled Run Works

A scheduled run produces a new chat in the work folder, named after the action, and runs as the user who created the schedule. Treasure AI Studio has no separate "scheduled" execution environment: the run sees the same work folder files, the same instructions, and the same skills a manual run sees, and it consumes credits from the same account.

A schedule runs at the time you set, read as the local time in the schedule's own timezone. Where that zone observes daylight saving, the run follows the clock change rather than drifting an hour. A run that could not happen is not made up later — if an occurrence is skipped because the schedule was off, the next run is the next matching time, not an immediate catch-up.

In the sidebar's Recent Chats and in the folder's Chats section, a chat started by a schedule carries a clock badge on its chat icon, distinguishing it from the ⚡ badge of a chat you started with Run. Its ⋯ menu offers Go to schedule, which opens the work folder page with the originating schedule highlighted.

A work folder's Chats section: the chat started by a schedule carries a clock badge on its chat icon, above a chat with the ⚡ action badge and an older chat with a plain chat iconRecent Chats in the sidebar showing a schedule-started chat with a clock badge next to an action-started chat with a ⚡ badge, both labeled with their work folder
Schedules are yours

A schedule belongs to the user who created it and fires as that user. You see only your own schedules, and the chats they produce are your chats.

Creating a Schedule

You can start from an action, which pre-fills the target, or from the Automations section, which asks you to pick one.

  1. Open the work folder and scroll to the Actions and Skills section at the folder's root.
  2. On the action's row, click Add schedule. The New schedule dialog opens with that action fixed as the target.
  3. Choose a Repeat cadence: Daily, Weekdays, Weekly, Monthly, or Custom.
  4. Set the Time, plus Day of week or Day of month if the cadence needs one.
  5. Confirm the Timezone. It defaults to the timezone in your Studio settings; the time you entered is interpreted in this zone, not in the browser's.
  6. Check Next runs — the dialog lists the next three run times, so you can confirm the cadence before saving.
  7. Click Create schedule. The new schedule appears in the Automations section, switched on.
New schedule dialog with the action create-message fixed, Repeat set to Daily, Time 09:00, Timezone Asia/Tokyo, and Next Runs listing the next three 9:00 AM runs

To schedule an action from the section instead, click New schedule in the Automations header and select the action from the Action list. The button is unavailable while the folder's actions are still loading, and when the folder holds no actions to schedule.

The action is fixed once saved

A schedule's cadence and timezone can be edited at any time; its action cannot. To point the same cadence at a different action, create a schedule on that action and delete the old one.

Repeat Cadences

The four presets cover the common cadences and write the underlying cron expression for you. Custom exposes that expression directly, for cadences the presets cannot express — every second hour, the first weekday of each quarter, several times a day.

Repeat What It Does Fields You Set
DailyRuns every day at one timeTime
WeekdaysRuns Monday through Friday at one timeTime
WeeklyRuns one day a weekDay of week, Time
MonthlyRuns one day each monthDay of month, Time
CustomRuns on any cadence a 5-field cron expression can describeCron expression

A custom expression has exactly five fields — minute, hour, day of month, month, day of week — where * means unconstrained. For example, 0 9 * * 1-5 runs at 09:00 Monday through Friday, and 30 */2 * * * runs at half past every second hour.

Two rules are checked as you type and again when you save:

  • An expression must have exactly five fields. Six-field expressions with seconds are not accepted.
  • Day of month and day of week cannot both be constrained. Constrain one and leave the other *. "The 1st or every Monday" cannot be expressed in one schedule — use two.

The ? wildcard is not supported anywhere in the expression; write * for an unconstrained field. A rule the expression breaks is reported in red under the field as you type.

New schedule dialog with Repeat set to Custom, showing the Cron expression field, its 5-field help text, and the red error A cron expression needs exactly 5 fields

An expression that fires more often than the minimum interval still previews, with a warning under the field, and is rejected when you save.

The Automations Section

The work folder page lists your schedules for that folder in an Automations section, shown at the folder's root below Actions and Skills. The heading carries the schedule count and the New schedule button. The section is hidden entirely when the folder has neither schedules nor actions to schedule.

Each row shows the action's directory name, the cadence in plain words ("Every weekday at 9:00"), the timezone, and — on the right — the state that matters most: Next run with the time in the schedule's own timezone, or Turned off, or Turned off automatically. A second line reports the last run: its status, when it finished, and a View chat link to what it produced — or Never run on a schedule that has not fired yet.

The controls on a row are:

Control What It Does
SwitchTurns the schedule on or off. A schedule that is off keeps its definition and history and stops firing; turning it back on resumes from the next matching time
⋯ → EditChanges the cadence or timezone. The action stays fixed
⋯ → Run historyOpens the action's run timeline
⋯ → DeletePermanently deletes the schedule and its run history. The chats its runs produced are not deleted
Automations section with three schedule rows — one Turned off with its switch off, one showing its next run with the ⋯ menu open on Edit, Run history, and Delete, and one showing a succeeded last run with a View chat link

A row also warns you before its schedule ever fails. When the action a schedule points at has gone missing, has a broken definition, or is no longer an action, the row says so in amber under the cadence line — while the schedule is still enabled and still counting down to a run that will fail.

A work folder page with a Broken definitions group listing weekly-report, and an Automations section whose weekly-report schedule warns that its action has a broken definition, next to a healthy schedule showing a succeeded run

An action that has schedules also carries a chip on its row in Actions and Skills: the cadence itself when there is one schedule ("Weekdays 9:00"), or a count ("×2") when there are several. The chip turns amber when any of the action's schedules has been turned off automatically, so a broken automation is visible from the action row without opening the section. Clicking the chip opens the run timeline.

Actions and Skills section with two action rows: one showing a Daily 9:00 AM automation chip and one showing a ×2 chip for its two schedules, each followed by Add schedule and Run buttons

Reviewing Runs

Run history is the timeline of one action's runs, opened from ⋯ → Run history on any schedule row or by clicking that action's automation chip. It merges every run of the action — scheduled runs across all of the action's schedules, and the manual runs you started with Run — into one list, newest first. Each row opens with an icon naming its source on hover: a blue clock for Schedule, an amber bolt for Manual. The dialog's subtitle says how many schedules it drew from.

Run history dialog subtitled Across 2 schedules and manual runs, listing a skipped scheduled run marked with a blue clock above a manual run marked with an amber bolt that carries no status, only a View chat link

Scheduled rows carry an outcome:

Status Meaning
SucceededThe run started its chat and the action began work. Open the chat to see the result
FailedThe run could not start. The row names the cause
SkippedThe occurrence came due while the schedule was off, so nothing ran
PendingThe run is in progress and has not reached an outcome yet

Manual runs record no outcome — open the chat to see how they went.

A failed row names the cause and offers Details, which expands the diagnostic message recorded at the time of the run. The newest failed row also offers Run now, which starts the action immediately as an ordinary manual run so you can confirm a fix without waiting for the next occurrence. The resulting chat appears in the same timeline as a manual row. Run now is unavailable while the action is missing or its definition is broken — fix the definition first.

Run history dialog for the create-message action: a pending run at the top, then a succeeded run with a View chat link, three failed runs naming a broken definition with Details links and a Run now button on the newest, and an earlier succeeded run

How Long Runs Are Kept

A run that produced a chat is kept as long as that chat is, and View chat keeps working for exactly that long. A run that produced no chat — a failure, a skip, or one still pending — is deleted 60 days after the time it was due.

Once a schedule's own rows have aged out, its last-run line says history no longer retained in place of a status: the schedule still remembers when it last ran, even after the record of that run is gone. A schedule that has genuinely never fired says Never run instead, so the two are never confused.

Succeeded means started, not finished

A schedule's job ends once the chat exists and the action has been handed the work. Whether the action produced the report you wanted is answered in the chat, not by the status chip. Automatic disable follows the same line: it counts only runs that could not start, so an action that starts and then goes wrong inside the chat keeps running on schedule, and keeps spending credits, until you intervene. The per-user daily credit limit is what bounds that spend in the meantime.

When a Schedule Turns Itself Off

A schedule stops on its own when the thing it points at can no longer run. Three consecutive failures with a cause you can fix turn it off. The three need not share one cause; the row then shows an amber banner naming the most recent one, what to do about it, and a Turn back on button. A run that fails because your account is unavailable turns the schedule off immediately, without waiting for a third failure.

A schedule row marked Turned off automatically with an amber banner reading The action's definition is broken, a repair sentence, and a Turn back on link

Trouble on Treasure AI's side does not count toward this. Transient infrastructure failures are retried automatically and never reach the run history, a run that fails on an internal error leaves the counter untouched, and a single successful run resets the counter to zero.

Cause Shown How to Recover
The action for this schedule no longer existsRestore the action's SKILL.md under .claude/skills/<name>/, then click Turn back on
The action's definition is brokenFix the frontmatter — the row is also listed under Broken definitions — then click Turn back on
The referenced skill is no longer an actionSet action: true in the skill's SKILL.md, or convert it back to an action from its ⋯ menu, then click Turn back on
Your account is no longer available to run this scheduleA schedule always runs as the user who created it, and cannot be reassigned. If that account is gone for good, have another user create a schedule for the same action; this one stays off and is visible only to its creator

Turn back on clears the automatic disable and gives the schedule a fresh budget of failures. It does not check whether you fixed the cause — if you have not, the schedule fails its way back to off.

Deleting a work folder ends its schedules for good

Delete on a work folder is what stops its schedules — Treasure AI Studio has no separate archive action, and no way to bring a deleted folder back. Its schedules leave the Automations section and cannot be turned back on. To stop only some automation, delete those schedules individually instead.

Converting a scheduled action back to a plain skill produces the same outcome by a slower route: the schedules stay registered, every run fails, and each one turns itself off after three failures. Studio asks you to confirm before that happens — see Converting an Action That Has Schedules.

Limits

Action schedules in Treasure AI Studio are bounded by the following limits. The two you are most likely to meet are the per-user cap on enabled schedules and the one-hour minimum between runs.

Limit Value
Enabled schedules per user10, counted across all of your work folders. Schedules that are off do not count
Minimum interval between runs1 hour, per schedule. An expression that fires more often is rejected on save. Two schedules on the same action can still fire closer together than that
Consecutive failures before automatic disable3, counting only runs that failed for a reason you can fix, in any mix. One successful run resets the count
Cron expression5 fields; ? unsupported; day of month and day of week cannot both be constrained
TimezoneAny IANA timezone name, stated explicitly on every schedule
Run history retentionA run that produced a chat lives as long as the chat. A run that produced none is deleted 60 days after its scheduled time

Troubleshooting

Issue Solution
Add schedule or New schedule is unavailableThe folder has no actions to schedule, or its actions have not loaded. Return to the folder's root and confirm at least one skill has action: true. If Actions and Skills says "Failed to load actions and skills", click Retry there — scheduling becomes available again once the listing loads
"You've reached the limit of enabled schedules for your user"You already have 10 enabled schedules across your work folders. Turn one off or delete it before enabling another
The schedule saved but the next run is not what you expectedCheck the Timezone on the row — the time is interpreted there, not in your browser's zone. Open Edit and confirm the next three runs in the preview
The next run time shows as unknownThe stored cron expression cannot be evaluated. Open Edit, switch Repeat to a preset or correct the custom expression, and save
A run is SkippedThe occurrence came due while the schedule was off. Turn the schedule on; the next matching time will run
A row says the action no longer exists, but you can see itThe schedule stores the action's directory name. Renaming the directory breaks the link — create a schedule on the renamed action and delete the old one

Next Steps

  • Actions — Create the action a schedule runs
  • Work Folders — The folder a schedule and its chats live in
  • Settings — Set the timezone new schedules default to
  • Credit Usage — How scheduled runs consume credits