Learning resourcesReviewed · Lovable

Lovable Jobs: scheduled background tasks (documentation)

This is the official Lovable documentation page on Jobs. Jobs are scheduled background tasks inside apps built on Lovable's built-in backend, and the page is written for people building apps with Lovable. The main catch is that you create and change jobs through chat or SQL, not the Jobs view, and every run uses credits. The page covers reviewing jobs and their run history, turning jobs on and off, and how a secret credential protects the HTTP call a job makes to your app. It also covers the one-minute minimum interval for jobs Lovable sets up (database-only jobs written in SQL can run more often), the timeout of a few seconds on a job's request, and cleaning up run history.

Researched 15 Nov 2026

In short.

This is the official Lovable documentation page on Jobs, the scheduled background tasks inside apps built on Lovable's built-in backend. It is for people building apps with Lovable. The main catch is that jobs are created and changed through chat or SQL, and they use credits. According to the page, you ask Lovable in chat to set up a job, then review it under More, Database, Manage, Jobs. There you can see the schedule, the last run and a run history with Succeeded, Failed or Running status, and you can enable or disable the job. A job that triggers work in your app calls a public address in that app, so Lovable stores a secret named LOVABLE_CRON_SECRET and adds a check named authenticateCronRequest. The page does not say that database-only jobs written in SQL call a public address or use that credential. The page also gives the shortest interval (once per minute for jobs Lovable sets up) and says a job's request times out after a few seconds. It says old run history is not cleaned up automatically and that frequent or long jobs raise credit usage. Nothing was run or tested. The evidence does not give exact credit prices, the exact timeout or which plans include the feature.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete Lovable Jobs documentation page at [https://docs.lovable.dev/features/jobs.md]. The pages it links to are excluded, so their contents are unknown here: Automations, Project usage, Project monitoring, Secrets, Edge functions, the Supabase integration, credits and usage, and database pause and remove. The page has no licence notice, pricing table, changelog or screenshots, so its reuse terms are unknown. Nothing was executed, so job creation, the credential check, the interval and timeout limits and history cleanup are untested. Credit prices, the exact timeout and plan availability are also unknown.

The overview

What this resource is

This is a single documentation page from Lovable, titled Jobs, at [https://docs.lovable.dev/features/jobs.md]. It describes the scheduled background jobs feature of Lovable's built-in backend: recurring work that runs inside the app you built, such as checking for new information, posting updates or syncing data.

The page separates this feature from Automations. Automations are tasks Lovable repeats on a schedule, such as a weekly summary in a chat. Jobs are background work inside the app itself. The page calls them different features and links to the Automations page.

The Jobs page is a guide to a product feature, not software you install or a package you download. It links to related pages, such as Automations, Project usage, Project monitoring, Secrets and Edge functions, but does not explain those features itself.

Overall assessment

The page is a clear, practical reference for one feature. It says where to find jobs, what the Jobs view shows, what you can and cannot do there and how scheduled requests are protected. It also gives the limits that affect how you design a job. Jobs Lovable sets up can run at most once per minute, while database-only jobs written in SQL can run more often. A job's request times out after a few seconds, and every run uses credits.

Its strongest part is the security explanation. It states plainly that the address a job calls is public, so without a check anyone who finds it could trigger the work. It then describes the credential and check Lovable adds. Its main gaps are numbers. It gives no credit prices, no exact timeout, no plan availability and no limit on the number of jobs. Those are unknown from this evidence.

Everything here comes from documentation text. None of the behaviour described was run or verified.

Who it is for

The audience is people building apps in Lovable who need recurring work, such as a daily email summary, a regular data sync or cleanup of expired sessions. The email summary and session cleanup examples appear on the page. Beginners can follow it because the main way to create a job is a plain-language request in the project chat.

Developers will care about the technical details. These include five-field cron expressions, the public HTTP address, the LOVABLE_CRON_SECRET secret, the authenticateCronRequest check, and the difference between TanStack Start API routes and edge functions in older React + Vite apps.

It is less useful if you connect your own Supabase project. The page says Lovable adds the credential and check only for projects on the built-in backend. With your own Supabase project, you set up scheduled work in Supabase.

What the feature can do

The page says you can ask Lovable in chat to schedule a job. Its example is a daily job at 7 AM that emails a summary of the day's follow-ups. Once a job exists, the Jobs view lists every scheduled job. Selecting one shows its schedule in plain language, for example Every day at 08:00 AM or Every 15 minutes. Times appear in your timezone, like the run history, but a schedule that cannot be converted keeps its original time and is marked (UTC). The view also shows the last run time and a run history table with each run's start time, end time and status (Succeeded, Failed or Running).

You can Enable or Disable a job. A disabled job does not run again until you enable it. The view does not update live. Use Refresh to reload the job list, and a separate Refresh on the run history to load new runs.

You create a job, change its schedule or delete it by asking Lovable in the project chat or through SQL, not from the Jobs view. Lovable can also delete completed run history on request. The page says Project monitoring can alert you when scheduled jobs fail, but it does not describe that feature.

Using it

Requirements

The page assumes a Lovable project on the built-in backend. The credential and the authenticateCronRequest check apply only there. On a project connected to your own Supabase project, you set up scheduled work in Supabase instead.

For jobs that trigger work in your app, the code that receives the call depends on how the app was built. In apps created from May 13, 2026 that use TanStack Start, the job calls an API route. In older React + Vite apps, the job calls an edge function.

The page does not state plan tiers, account type, the permissions needed to view or change jobs, or any regional limits. These are unknown. Writing your own SQL jobs requires SQL knowledge, but the page does not say where you run that SQL.

How it works

A job that triggers work in your app sends it an HTTP request, the same kind of request a visitor's browser makes. The address the job calls is public, so the page warns that without a check, anyone who finds it could send the same request and start the work.

When you ask Lovable in the project chat to set up a job on the built-in backend, Lovable adds two protections automatically. First, the job sends a secret credential with every request. Lovable stores it as a project secret named LOVABLE_CRON_SECRET, so you do not need to enter or view the value. Second, Lovable adds a check named authenticateCronRequest to the code that receives the request. The check rejects any request without the right credential before the code does any work.

The page also warns that a project's job definitions contain the credential, so anyone who can read them has access to it. For jobs you set up earlier, the page suggests asking Lovable in the project chat whether they reject requests that do not come from the job. Lovable adds these protections only for projects on the built-in backend.

Lovable writes schedules as five-field cron expressions: minute, hour, day of month, month, day of week. A job that runs at most twice an hour and calls an API route starts a few seconds after its scheduled minute, up to 29 seconds. This spreads load across projects, and the delay is the same every time for a given job. It does not apply to jobs that call an edge function.

A database-only job written in SQL can run more often than once a minute, using an interval schedule such as 30 seconds. The page does not describe how the scheduler works internally.

Setup steps the page describes

1. Ask Lovable in the project chat to create the job, for example: Schedule a daily job at 7 AM that emails me a summary of today's follow-ups. The page gives a second example, a nightly cleanup of expired sessions at midnight.

2. Open the project's job list at More, then Database, then Manage, then Jobs. Click a job to see its schedule, last run and run history. Use Refresh as needed.

3. Optionally, ask Lovable in chat to confirm the protection, for example: Do my scheduled jobs reject requests that don't come from the job?

4. Use Enable or Disable in the Jobs view to control a job. To change a schedule or delete a job, ask in chat or use SQL.

5. Optionally, ask Lovable to delete old completed run history. Lovable asks you to approve the deletion.

Whether the generated job, the receiving code and the credential work as described was not checked.

Worked example from the page

The page's own example prompt is: Schedule a daily job at 7 AM that emails me a summary of today's follow-ups. Going by the documentation, Lovable would create a job with a cron schedule and point it at an API route (new TanStack Start apps) or an edge function (older React + Vite apps). It would also store LOVABLE_CRON_SECRET and add authenticateCronRequest to the receiving code.

Afterwards, you would open More, Database, Manage, Jobs and see the job with a plain-language schedule such as Every day at 07:00 AM in your timezone, a Last run value and a run history. If a run failed, its status would show Failed. If you set up Project monitoring, it could alert you to failures.

The Jobs page gives only the prompt for this example. It shows no screenshots, generated code or sample output for the job, so the result described above was not run or confirmed.

Assessment & evidence

Limitations and catches

Documented limits: the Jobs view is only for reviewing, enabling and disabling jobs. Creating jobs, changing schedules and deleting jobs go through chat or SQL. The view does not update live. Jobs Lovable sets up can run at most once per minute. A database-only job written in SQL can run more often.

Timeouts: the call a job makes times out after a few seconds, and your app's handler is cancelled with it. Longer work has to start, answer the call and then finish outside that request, and you need to ask Lovable to build the job that way. The page does not give the exact number of seconds.

History: Lovable does not clean up old run history on its own. Each cleanup request removes up to 10,000 finished runs from before a date you choose, needs your approval and leaves runs still in progress alone. It does not clear the history of HTTP responses or shrink the disk space already given to the database. Lovable does not recommend a standard retention period.

Security: job definitions contain the credential, so anyone who can read them has access to it. The page says not to put a credential in a migration file or in the project chat. Lovable adds the credential check only on the built-in backend, not on projects connected to your own Supabase project.

Not covered: retry behaviour, overlapping runs, a cap on the number of jobs, how failure alerts are configured and delivered, detailed failure diagnostics, and how the schedule's time zone is chosen when you ask in chat.

Why these conclusions follow

The Jobs page explains the need for protection directly. A job that triggers work in the app sends an ordinary HTTP request to a public address, so anyone who finds that address could start the work unless a shared secret and a check reject other requests. The page presents the LOVABLE_CRON_SECRET credential and the authenticateCronRequest check as what Lovable adds when you set up the job through chat. It does not say that database-only jobs written in SQL call a public address or use the LOVABLE_CRON_SECRET credential.

The page's FAQ is the basis for the points on credits and auto-pause. It says each run uses Cloud usage and that scheduled jobs keep a project active. The cleanup limits come from the FAQ answer on run history.

The page says nothing about prices, the exact timeout, plan availability, retries or the documentation licence, so these remain unknown.

Alternatives and related options

The page itself names these alternatives. If your project is connected to your own Supabase project, you set up scheduled work in Supabase instead of using this feature. For a task Lovable repeats on a schedule inside a chat, such as a weekly summary, the page points to Automations. For database-only recurring work, you can write a SQL job yourself, which the page says can run more often than once a minute.

The page links to Project monitoring for failure alerts and Project usage for credit impact. It also links to pages on Secrets, Edge functions and pausing or removing a database. The Jobs page does not explain those features itself, so their details are unknown from this evidence.

The page does not discuss third-party schedulers or other platforms, so how Jobs compares with them is unknown.

Evidence base

The evidence is the text of the Lovable documentation page at [https://docs.lovable.dev/features/jobs.md]. It is first-party documentation from Lovable.

It contains an introduction, the Review and control jobs section, the How a scheduled job calls your app section and a seven-question FAQ. The FAQ covers creating or deleting jobs, auto-pause, credits, the shortest interval, how long a job can run, history cleanup and who can read the credential.

The page has no screenshots, no changelog, no version history, no pricing table and no licence or reuse statement, so reuse rights are unknown. Its only code blocks are two example chat prompts. No independent review, benchmark or user report backs up the behaviour it describes. None of that behaviour was tested, and nothing was executed.

Access & freshness

Costs

The page says jobs use credits. Each run uses Cloud usage like any other backend work, so frequent or long-running jobs increase the project's run credit usage. It points to Project usage for a breakdown and suggests asking Lovable in chat how scheduled jobs affect Cloud usage.

It also says scheduled jobs and other background activity keep a project active. Lovable normally pauses built-in-backend projects after a period of inactivity, but a project that exists only to run jobs will not pause on its own. If you no longer need those jobs, disable them or pause the database yourself.

The page gives no credit prices, per-run cost, free allowance or plan prices. These are unknown from this evidence.

Rights and reuse

The Lovable Jobs documentation page shows no licence, copyright notice or reuse terms for its text. Reuse rights are therefore unknown.

The page describes a hosted Lovable feature. It does not grant rights to Lovable's software or backend. It does not cover the terms for using Jobs in your own projects or who owns generated job code.

Freshness

The page was captured on 2026-11-15 (2026-11-15T01:18:13.525Z). It shows no last-updated date or version number. The only date in the text is May 13, 2026. The page says that in new Lovable apps created from May 13, 2026 that use TanStack Start, jobs call API routes, while older React + Vite apps use edge functions.

Hosted documentation can change without notice, so details such as the credit rules, the timeout or the menu path may have changed since capture. Check the live page before relying on a specific number or menu path.

Suggested next steps

If you build on Lovable's built-in backend and need recurring work, read this page before asking for a job. Ask in chat for the schedule you want. Then check in the Jobs view that the job shows the expected schedule and that its runs succeed.

Before going live, ask Lovable whether your jobs reject requests that do not come from the job. Keep the credential out of chat and migration files. Review the credit impact in Project usage, and disable jobs you no longer need.

If a job's work may take longer than the few-second request timeout, tell Lovable at the start that the job must answer the call and finish the work outside the request. Ask Lovable to clear old run history using a retention period you choose. If you use your own Supabase project, set up scheduled work in Supabase instead.

Evidence for this report

selected-page.txtselected · checked 2026-11-15