Your app can run things on a schedule. Send a Monday email. Refresh data every hour. Archive old records at the end of every month. Without anyone clicking anything.
How to add a scheduled task
In the chat, describe what you want and when. A few examples:
Every Monday at 9am, email me a list of new signups from last week.
At the end of every month, archive any tasks that have been done for more than 30 days.
Every 15 minutes, refresh the stock prices on the dashboard.
On the first of every month, send each customer their monthly invoice.
The AI sets it up. You get back a confirmation: I've scheduled this to run every Monday at 9am. Want to test it now?
What you can schedule
Anything your app already knows how to do. A few common ones:
- Send emails — daily, weekly, monthly summaries
- Clean up data — archive old records, delete stale carts
- Refresh data — pull updated info from another service
- Generate reports — calculate stats overnight
- Send reminders — to your users about appointments, deadlines, renewals
- Charge subscribers — though billing is usually handled by your payment integration
How to see what's scheduled
In the editor, click the Dashboard tab, then Tasks in the left sidebar to see every scheduled task in your app. From there you can:
- Disable a schedule to stop it for now, and Enable it to turn it back on
- View its code to see exactly what it does
- Delete a schedule you no longer need
- See its history in Execution History — when it ran and whether it worked
To change what a schedule does or when it runs, ask the AI in chat.
Time zones
By default, schedules run on UTC time. If you'd rather say every weekday at 9am Eastern,
just include the time zone when you set it up. The AI handles the conversion.
What if it fails?
If a scheduled run hits a problem, it's marked Failed in Execution History on the Tasks page. Ask the AI to look at the failure and fix it.
Limits
Each app can have up to 50 scheduled tasks. The AI lets you know if you hit the limit. Changing an existing task is always allowed.
What to read next
- Sending emails from your app — the most common thing people schedule
- Integrations — schedule tasks against connected services like Slack or Stripe
Can a task reuse page or endpoint code?
Scheduled tasks run on the server with their supported helpers and environment variables. They do not import React components, browser hooks or arbitrary modules from your app's page files. A task also has no visitor's current sign-in session.
Ask the builder to put the required operation in the task's server handler, using the supported database, email, integration or AI helpers. Do not have it call a relative /api/... URL as though the task were a browser page.
Test a small run first. The default run-time limit is 60 seconds, with a configurable maximum of five minutes. Break longer work into resumable batches and record progress so retries do not repeat completed actions. Preview can perform real actions, including sending email.