Back to blog

Guides · May 12, 2026

How to schedule tasks in Lovable apps (Jobs, Automations and an outside clock)

Lovable can run scheduled work now: Jobs inside your app and Automations in its chat. Here is what each one is for, where they fall short, and the prompts that put a Lovable function on an outside clock with retries, alerts and your own timezone.
crontap.com / blog
As of November 2026, Lovable runs scheduled work two ways: Jobs inside your app's backend (every minute at most, each call times out after a few seconds) and Automations in its chat (daily on Free, hourly on Pro). Here is what each does, where they fall short, and the copy-paste prompts that put a Lovable API route or Edge Function on an outside clock with retries, failure alerts and your own timezone.

You asked Lovable to "email me a summary of yesterday's signups every morning at 9". It wrote the code, sent a test email while you watched, and said it was done. The question nobody in the chat answers is the one that matters: what, exactly, wakes up at 9 tomorrow and runs it?

Lovable has real answers to that now. Its docs (checked in November 2026) describe Jobs, scheduled work inside your app, and Automations, tasks Lovable itself repeats from its chat. They sound alike and do very different things. Below is what each one is for, where each runs out of road, and how to hand a Lovable function to an outside clock when you want retries, failure alerts and a schedule in your own timezone.

Lovable has two schedulers now, and they answer different questions

The quickest way to tell them apart is to ask who the work is for. A Job works for your app: it sends your customers their reminders, syncs your prices, cleans up your tables. An Automation works for you: it reads your project or your connected tools and tells you something in a chat.

Two terms come up a lot from here on. Your app's server code is the part that runs on Lovable's servers instead of in a visitor's browser. Apps created from May 13, 2026 keep it in API routes inside the app; older apps use Edge Functions, small programs on Lovable's backend. Either way it is a URL that runs code when something calls it.

JobsAutomations
Works forYour app and its usersYou
Lives inYour app's backendLovable's Chats, outside your projects
A run doesCalls an API route or Edge FunctionLovable reads your project or tools and posts a reply
Shortest scheduleEvery minute24 hours (Free), 1 hour (Pro), 15 minutes (Business)
Paid withCloud usageChat usage
You create it byAsking in the project chatAsking in Chats, or Schedule a task

There is a third thing that looks like a clock. Project monitoring checks your app's code and recent visitor errors once a day or once a week and emails the owner about important findings. It watches your app; it doesn't run your work.

Here is where each clock sits in a Lovable app. Pick one to see what it touches and what it can't do.

Pick a clock

Lovable Chats

Your conversations with Lovable, outside any project

Results land in the automation's chat, or in Slack or Telegram if you set it up there.

reads your project, asks before edits

Pages

What visitors see in the browser

Server code

An API route, or an Edge Function in older apps

Database

Your tables, on Lovable's built-in backend

POST with x-cron-secret

Outside Lovable

A scheduler that only knows your function's URL

Alerts after the last retry: email, or Slack, Discord and Telegram on paid plans.

Jobs · Inside your app's backend

Lives in
Your app's database, on Lovable's built-in backend
Calls
An API route in your app (apps from May 13, 2026) or an Edge Function (older apps)
Shortest
Once a minute
Each run
The call times out after a few seconds and your code is cancelled with it
When it fails
A Failed row in the run history. Project monitoring (beta, Pro and up) can email you after its daily or weekly check
Costs
Cloud usage for every run
Where the clock lives in a Lovable app. Lovable limits from docs.lovable.dev (Jobs, Automations, Project monitoring), November 2026.

Jobs: the scheduler inside your app's backend

If your app should do something on its own, such as sending reminders, syncing a sheet or clearing out old rows, a Job is Lovable's built-in answer. There is no button for it. You ask in the project chat, in words like Lovable's own example:

Schedule a daily job at 7 AM that emails me a summary of today's follow-ups.

Lovable writes the code and the schedule. The schedule is a cron expression, five fields for minute, hour, day of the month, month and weekday, so 0 7 * * * means 07:00 every day. It also locks the door: the job calls your API route or Edge Function with a secret Lovable stores as LOVABLE_CRON_SECRET, and the code checks it with authenticateCronRequest before doing anything. Someone who finds the address can't trigger your email.

To see what Lovable made, open More > Database > Manage > Jobs. Each job shows its schedule in plain language, when it last ran, and a run history marked Succeeded, Failed or Running. You can disable and enable a job there; creating, changing and deleting happen in the chat. Lovable's Jobs docs list these limits as of November 2026:

1 min

Shortest schedule

For a job Lovable sets up

A few seconds

Per call

Then the call times out and your code is cancelled

Up to 29 s

Start offset

API-route jobs that run at most twice an hour

Where Jobs gets thin

Jobs are a good default for small, quick work. A few details in the docs start to matter once the job is something customers notice.

  • Each call gets a few seconds. Longer work has to start, answer the call, and finish outside that request, and you have to ask Lovable to build it that way. Paging through Stripe or reading a slow Google Sheet can blow through that budget as your data grows.
  • Nobody tells you straight away. A failed run is a Failed row in the history, and the docs don't describe retries. Project monitoring can email you about failing cron jobs, but it is a beta on Pro, Business and Enterprise and checks once a day or once a week.
  • Changing the time is a chat message. Moving 07:00 to 06:30 means asking Lovable (which uses a little credit) or writing SQL. There is no field to edit.
  • The timezone is worth a question. The Jobs view shows times in your timezone and marks a schedule it can't convert as (UTC). The docs don't say how a job follows daylight saving time, so ask Lovable which cron expression and timezone it stored.
  • Every run costs Cloud usage, and a project with scheduled jobs no longer auto-pauses after about 7 days without activity. That is usually what you want, but it means an abandoned project keeps spending until you disable its jobs or pause it.

Automations are for you, not your users

An Automation is Lovable doing something you would otherwise ask it for, on a schedule. "Every Monday at 08:00 London time, list last week's signups by day and tell me whether the total dropped" is the kind of task Lovable has in mind. The result lands in that automation's chat, or in Slack or Telegram if you set it up there.

That makes Automations a good fit for reports to yourself and a poor fit for anything your app owes its customers. A run can stop and wait for your approval before it sends a message or changes a project, unless you chose Always allow, and each run is priced like a chat message. The plan sets how many you can keep and how often they run:

Every 24 h

Free

Up to 3 automations per person

Every hour

Pro

Up to 10 automations per person

Every 15 min

Business

Up to 25 automations per person, as of Nov 2026

Keep the function in Lovable, move the clock outside

An outside clock earns its place when the work takes longer than a few seconds, when you want to hear about a failure the moment it happens (after a few retries), when the time has to follow your timezone, or when your schedules span more than one Lovable project. It also covers projects on their own Supabase, where Lovable's Jobs aren't available.

The pattern has two halves. Lovable builds an API route or Edge Function that does the work and checks a secret header. Crontap holds the schedule and calls that URL. Nothing about the app changes; only the clock moves.

  1. 1

    Ask Lovable for the endpoint, not a job

    Paste a prompt like this into the project chat. It names the route, asks for the secret check, and tells Lovable not to add a Job of its own:

    Create an API route at /api/cron/morning-summary that emails me a summary of yesterday's new signups and orders with Resend.
     
    - Accept POST requests only.
    - Before doing any work, compare the x-cron-secret request header with a secret named CRON_SECRET. If it is missing or different, return 401 and stop.
    - Ask me for CRON_SECRET with the secure secret form, so I can generate a value and copy it.
    - Do not create a scheduled job for this. An outside scheduler will call the route every day at 09:00 (America/New_York).
    - Make it safe to run twice: save the date of the last summary and skip if today's already went out.
    - Return 200 with a short JSON summary when the work is done, or 500 with the error if it fails.

    On an older app with Edge Functions, ask for "an edge function called morning-summary" instead and add "Turn off JWT verification for this function", so the platform doesn't reject a call that carries no user login. The gallery further down writes both versions for six common tasks.

  2. 2

    Generate the secret and copy it

    Lovable asks for CRON_SECRET in a secure form. For a value you enter in two places, the form shows a Generate button: press it, press Copy, keep the value for step 4, then Submit. Lovable's secrets are write-only, so if you lose the value later, ask Lovable to update the secret and generate a new one.

  3. 3

    Find the URL

    On a new app, publish first, because API routes go live when you publish. The URL is your published address plus the path, such as https://your-app.lovable.app/api/cron/morning-summary (or your custom domain).

    On an older app, open More > Database > Manage > Edge functions, pick the function and press Copy URL. It looks like https://<project-ref>.supabase.co/functions/v1/morning-summary.

  4. 4

    Create the schedule and press Perform test

    In Crontap, create a schedule with that URL, method POST, and a header named x-cron-secret holding the value from step 2. Type the time as 0 9 * * * or in plain English ("every day at 9am"), and pick the timezone, here America/New_York.

    Press Perform test before you save. A 200 means it works. A 401 means the secret in Crontap and the one in Lovable don't match, so copy it again. A 404 usually means you haven't published since Lovable added the route. A 5xx means the code itself failed: open More > Settings > Logs and paste the error into the chat.

  5. 5

    Decide who hears about failures

    New Crontap schedules retry 5xx responses, timeouts and network errors with exponential backoff, and record every attempt with its status code and duration. When the last attempt fails, Crontap alerts you by email on every plan, or in Slack, Discord or Telegram on paid plans.

If Lovable already made a Job for the same task, ask it to delete that job, or the email goes out twice.

Pick a common automation, get the prompt

Most Lovable apps grow into the same handful of scheduled tasks. Pick one below, choose who keeps the clock and how your app runs its server code, and copy the prompt. The schedule card shows what to type in Crontap or where the Job will appear in Lovable, and the badge says which clock suits that task. For the longer catalogue, with Stripe, HubSpot, Notion, Airtable and Twilio patterns, see common business automations for Lovable apps.

Pick an automation

Who keeps the clock

Your app's server code

Fits either clockFast enough for a Job. An outside clock adds retries and an alert if the email ever stops.

Create an API route at /api/cron/morning-summary that emails me a summary of yesterday's new signups and orders with Resend.

- Accept POST requests only.
- Before doing any work, compare the x-cron-secret request header with a secret named CRON_SECRET. If it is missing or different, return 401 and stop.
- Ask me for CRON_SECRET with the secure secret form, so I can generate a value and copy it.
- Do not create a scheduled job for this. An outside scheduler will call the route every day at 09:00 (America/New_York).
- Make it safe to run twice: save the date of the last summary and skip if today's already went out.
- Return 200 with a short JSON summary when the work is done, or 500 with the error if it fails.

Paste it into the project chat, then read Lovable's reply to check what it built.

In Crontap

URL
https://your-app.lovable.app/api/cron/morning-summary
Method
POST
Header
x-cron-secret with your CRON_SECRET value
Schedule
0 9 * * * (every day at 09:00)
Timezone
America/New_York
Runs a month
About 30. Fits the free plan
Schedule this

Opens the form with these fields filled in.

Everything is generated in your browser. The code tab is a sketch of what Lovable should end up with; Lovable writes the real code from the prompt.

Make a scheduled run safe to repeat

Whichever clock you pick, the same few habits keep scheduled work boring:

  • Make it safe to run twice. A retry after a timeout, a Perform test, or a Job you forgot about can run the same task again. "Safe to run twice" just means the second run notices the work is done: save the date of the last summary, or mark a booking as reminded right after the email.
  • One clock per task. A task on a Job and on Crontap runs twice. When you move a task outside, delete its Job.
  • Answer after the work is done. Let the route finish, then return 200 or 500, so the run history tells the truth. Crontap waits up to an hour per attempt, which leaves your function's own time limit as the real cap.
  • Watch the first real run. Perform test proves the wiring. The first scheduled run proves the time and timezone are what you meant.

Other answers you will find: Inngest, Supabase Cron, Zapier

Inngest. Lovable has an Inngest connector that uses your own Inngest account. Inngest runs cron functions, retries steps and handles multi-step workflows, like a welcome email now and a follow-up three days later. Runs are billed by Inngest and managed in its dashboard, not in Lovable. It is worth it for multi-step flows and more than you need to call one URL at 9.

Supabase Cron. On a project connected to your own Supabase, Supabase Cron (pg_cron) can call an Edge Function on a schedule. It is in UTC, doesn't retry, and keeps the HTTP result in a different table from the run history. The Supabase cron jobs guide walks through it and has a builder for the SQL.

Zapier or Make. A schedule trigger plus a webhook step calls the same URL. It makes sense if the rest of the flow already lives there.

What it costs

On the Lovable side, Jobs and the functions they call use Cloud usage, and Free, Pro and Business workspaces get a monthly Cloud grant (20 credits as of November 2026, which Lovable calls temporary). Automations cost chat usage per run, so an hourly automation costs about 24 times a daily one.

On the Crontap side, two schedules at hourly or slower are free with no card, and Pro starts at $2.99/mo for 3 schedules, monitors or heartbeats at minute cadence. The clock itself uses no Lovable usage; the work your function does still does.

FAQ

Lovable scheduling questions

Can Lovable run tasks on a schedule?
Yes. As of November 2026 Lovable has Jobs: scheduled background work inside your app's built-in backend. You create one by asking in the project chat, for example "Schedule a daily job at 7 AM that emails me a summary of today's follow-ups", and you review it under More > Database > Manage > Jobs, where you see its run history and can turn it on or off. Lovable also has Automations, which repeat a task in Lovable's own chat rather than inside your app.
What is the difference between Lovable Jobs and Automations?
A Job runs inside the app you built. It calls one of your app's API routes or Edge Functions on a schedule, for work your app does for its users, like sending reminders or syncing data. An Automation runs in Lovable's Chats, outside your projects. Lovable repeats a task for you, such as summarising last week's signups, and posts the result in that chat. Automations are personal, priced as chat usage and limited by plan.
What is the shortest interval for a Lovable scheduled job?
Once a minute for a job Lovable sets up, written as a five-field cron expression. Lovable's docs say a job that calls an API route and runs at most twice an hour starts a few seconds after its minute, up to 29 seconds, to spread load. A database-only job you write in SQL can use an interval such as 30 seconds. Automations are slower: every 24 hours on Free, every hour on Pro and every 15 minutes on Business.
How long can a Lovable scheduled job run?
Only a few seconds. Lovable's Jobs docs say the call a job makes times out after a few seconds, and your handler is cancelled with it. Longer work has to start, answer the call, and finish outside that request. An outside scheduler such as Crontap waits up to an hour per attempt, so the function's own time limit becomes the real cap.
Do Lovable jobs retry or alert me when they fail?
The Jobs docs do not describe retries. A failed run shows as Failed in the job's run history, and Project monitoring (in beta on Pro, Business and Enterprise) can email the project owner about failing cron jobs after its daily or weekly check. Crontap retries 5xx responses, timeouts and network errors with exponential backoff by default, records each attempt, and alerts you by email on every plan, or in Slack, Discord or Telegram on paid plans, once the attempts run out.
Do scheduled jobs use Lovable credits?
Yes. Each job run is Cloud usage, so frequent or slow jobs raise the project's run credits. Scheduled jobs also keep a project active, so Lovable does not auto-pause its backend after the usual week without activity. When an outside clock calls your function instead, the work the function does still counts as Cloud usage, but the clock itself does not.
Is a publicly callable Lovable function safe?
Only with a check. Anyone who finds the address of an API route or Edge Function can call it, so it must reject requests without a secret before it does any work. Lovable does this for its own Jobs with a LOVABLE_CRON_SECRET and an authenticateCronRequest check. For an outside clock, ask Lovable to compare an x-cron-secret header with a secret named CRON_SECRET and return 401 when they do not match.
My Lovable project uses my own Supabase project. What changes?
Lovable's Jobs view and its scheduled-job credential only exist on the built-in backend. With your own Supabase project you set up scheduled work in Supabase, either with Supabase Cron (pg_cron, which runs in UTC and does not retry) or by pointing an outside scheduler at the Edge Function's URL.
Can I schedule tasks on the free Lovable plan?
Yes. The Jobs docs do not limit jobs to a paid plan. Each run uses Cloud usage, and Free, Pro and Business workspaces get a monthly Cloud grant (20 credits as of November 2026, which Lovable calls a temporary offering). Automations on Free run at most once every 24 hours. Crontap's free plan covers 2 schedules at hourly or slower cadence.
Do I need to write code for any of this?
No. Lovable writes the job, the API route or the Edge Function from your prompt. On the Crontap side you paste a URL, add one header, and type the timing as a cron expression or in plain English, such as every weekday at 9am.

References

The function stays in Lovable

Send the morning summary at 09:00 New York time, every day.

Paste the API route's lovable.app URL, add the x-cron-secret header with the value you generated in Lovable's secret form, and press Perform test until it answers 200. Crontap retries a failed run with backoff, keeps every attempt in its history and emails you when the last one fails.

Free for 2 schedules or monitors. No card.

POSThttps://your-app.lovable.app/api/cron/morning-summary
Active

0 9 * * *America/New_York

Next run in ...

Run history

From the blog

Read the blog

Guides, patterns and product updates.

Tutorials on scheduling API calls, webhooks and automations, plus deep dives into cron syntax, timezones and reliability.

Product

Introducing Crontap status pages

Publish uptime monitors and heartbeats on a public page at crontap.page, pick a template from Clean to a split-flap departures board, and add incidents, maintenance and a badge.

Product

Slack, Discord and Telegram alerts are here

Connect a chat channel once, then route schedule, uptime and heartbeat alerts with defaults, per-job overrides and test sends. See what each alert looks like in Slack, Discord, Telegram and email.

Product Updates

Introducing AI Integrations

Transform a schedule's HTTP response with a plain-English prompt, return text or JSON, and forward it to Slack, Make, n8n, or your own endpoint. Test on any tier; saving is a Pro feature.