GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(scheduled-tasks): schedule tasks with cron expressions by NicL9923 · Pull Request #32964 · pingdotgg/t3code

feat(scheduled-tasks): schedule tasks with cron expressions #32964

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
NicL9923 wants to merge 17 commits into pingdotgg:main from NicL9923:t3/scheduled-task-cron

Uh oh!

There was an error while loading. Please reload this page.

Closed

feat(scheduled-tasks): schedule tasks with cron expressions #32964

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
ea2f979
feat(scheduled-tasks): schedule tasks with five-field cron expressions
NicL9923 Nov 8, 2026
06402fa
fix(web): keep the cron example on one line in the help text
NicL9923 Nov 8, 2026
373d7d4
fix(mobile): read the cron help or error to screen readers
NicL9923 Nov 9, 2026
b81e7ca
fix(mobile): pick the schedule type from a menu row
NicL9923 Nov 9, 2026
8a63683
fix(mobile): keep the cron help example on one line
NicL9923 Nov 9, 2026
90adde6
Merge upstream main into t3/scheduled-task-cron
NicL9923 Nov 9, 2026
8a720e9
docs: only the first missed cron run gets the 10-minute grace
NicL9923 Nov 9, 2026
333dd9a
Merge remote-tracking branch 'github/main' into t3/scheduled-task-cron
maria-rcks Nov 10, 2026
a671933
Merge remote-tracking branch 'github/main' into t3/scheduled-task-cron
maria-rcks Nov 10, 2026
68b1318
Merge upstream main into t3/scheduled-task-cron
NicL9923 Nov 11, 2026
1564740
Merge upstream main into t3/scheduled-task-cron
NicL9923 Nov 12, 2026
9c5f00b
Merge upstream main into t3/scheduled-task-cron
NicL9923 Nov 13, 2026
0abee5c
Merge upstream main into t3/scheduled-task-cron
NicL9923 Nov 16, 2026
21df3da
fix(mobile): preserve current draft when editing cron expressions
NicL9923 Nov 16, 2026
8e9978c
Merge upstream main into t3/scheduled-task-cron
NicL9923 Nov 17, 2026
c6e507a
chore: merge main into scheduled task cron
maria-rcks Nov 18, 2026
27e939e
fix(scheduled-tasks): translate cron scheduling controls
maria-rcks Nov 18, 2026
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Prev Previous commit
Next Next commit
Merge upstream main into t3/scheduled-task-cron
#34815 records a missed fixed-time run as failed with a reason. This
branch's isMissedClockTimeRun covers cron too, so a missed cron run now
shows as failed as well, and the user docs say so. Context budget is
main's 48126 plus this PR's 64.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@NicL9923 @claude
NicL9923 and claude committed Nov 12, 2026
commit 15647409042ef0215c0dce1f65bc2a53dc37467e

There are no files selected for viewing

2 changes: 1 addition & 1 deletion 2 apps/server/src/provider/agentContextBudget.json
Show comments Show annotations
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"claudeSystemAppendBytes": 5597,
"codexAdditionalContextBytes": 7327,
"mcpToolListJsonBytes": 48195
"mcpToolListJsonBytes": 48190
}
8 changes: 7 additions & 1 deletion 8 apps/server/src/scheduledTasks/ScheduledTaskService.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ import * as SecretRequests from "../secrets/SecretRequests.ts";
import * as ManagedPolicy from "../policy/ManagedPolicy.ts";
import * as DueHint from "../scheduling/DueHint.ts";
import * as Scheduler from "../scheduling/Scheduler.ts";
import { latestRootProviderFailure } from "@t3tools/shared/orchestrationV2ThreadError";
import { isMissedClockTimeRun, isSameSchedule, nextScheduledRunAt } from "./Schedule.ts";
import {
redactHeaders,
Expand Down Expand Up @@ -1273,7 +1274,12 @@ export const layer = Layer.effect(
({ task, dueAt }) =>
Effect.suspend(() =>
isMissedClockTimeRun(task.schedule, dueAt, now)
? rescheduleMissedRun(task, now)
? rescheduleMissedRun(
task,
now,
"missed",
"Missed a scheduled run because the server was not running at that time.",
)
: runTask(task, "scheduled"),
).pipe(
Effect.catch((cause) =>
Expand Down
3 changes: 2 additions & 1 deletion 3 docs/user/project-settings.md
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ expression: minute, hour, day of month, month, and weekday. For example,
Cron schedules use the environment's time zone, like fixed-time schedules. If
the environment is offline at run time, only its first missed run can still
happen, and only if the environment is back within 10 minutes of it. Other
missed runs are skipped, and the task waits for its next time.
missed runs are skipped, the task shows the miss as a failed run, and it waits
for its next time.

Comment thread
NicL9923 marked this conversation as resolved.
Resolved

Uh oh!

There was an error while loading. Please reload this page.

Under **Destination**, choose where runs go. **New thread each run** keeps every
run separate. The two one-thread choices start a thread on the first run and post
Expand Down
Loading
Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

You are viewing a condensed version of this merge commit. You can view the full changes here.
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.