
Can ChatGPT run a routine in the background?
Yes, even with ChatGPT closed. Team tasks run in the cloud on a schedule or a Gmail or Slack event. But each run wakes a model, with no table it keeps, no mail address of its own, no place for API keys, and no plain cron job. Sails adds those, and ChatGPT still builds it.
Yes, the routine runs while ChatGPT is closed.
Scheduled tasks are real. Pick a time, as often as once an hour on paid plans, or an event like a new Gmail message or a Slack message. Team tasks run in the cloud under the team's service account, so nobody keeps a tab open. Desktop tasks that use local files still need the computer on.
For a digest or a check-in, that is enough. For a job your business depends on, look at what each run is. It is a model reading a prompt again. Nothing pins the steps, nothing keeps the rows, and an action that needs your approval can pause the run. Plus allows 5 active tasks.
What a scheduled task does not have
Fixed code. A task is a prompt, so a run can take a different path than last week. A Sails routine is a real cron job. It runs the same code every time. No model in the loop. No drift.
A table of its own. A task has no database that it reads and writes on every run. A Sails routine works against a real SQLite table. Rows stay put. Tomorrow's run sees today's changes.
A mailbox of its own. A task sends through the Gmail you connect, as you. A Sails routine has its own address. It sends from it, and replies come back to it.
A place for API keys. A task only reaches the apps ChatGPT connects. A Sails routine reads a stored secret, so it can call a supplier API or a payment service that has no ChatGPT app. You paste the key into a Sails page, not the chat.
ChatGPT still builds it.
You do not write code or open a terminal. You name the job and the time in ChatGPT. Your AI assistant makes the table, the inbox, and the cron job through Sails. Then the code runs on its own.
Keep open estimates in a table. Northside kitchen, $12,400, sent August 20, nora@northside.co.
Created SQLite table estimates
In the table. One open estimate.
Every weekday at 7, find estimates older than seven days and email me a short list. Send it from its own address, not my Gmail.
Created inbox estimates
Created cron job stale-estimates (weekdays 7:00)
Cron job is on. Same query, same email, every weekday. No model in the loop.
Did this morning's run find anything?
Read run log stale-estimates
It ran at 7:00. One stale estimate: Northside kitchen, 28 days open. The list went to you from the estimates inbox.
What you get
The same code every run
A real cron job runs fixed code. It does not reread a prompt or pick new steps. Monday's run and Friday's run do the same thing.
A real table
The routine reads and writes a SQLite table. You can ask ChatGPT what is in it any time. The rows are there in the next chat too.
Its own inbox
The routine sends from its own address and gets replies there. Your Gmail stays yours.
Put your AI assistant to work.
Add Sails to ChatGPT. Your AI assistant writes the routine once. Then the same code runs on cron, with a real table and its own inbox.