
Can ChatGPT run a routine in the background?
Yes. Add Sails to ChatGPT. Your AI assistant writes the routine once. Routines runs bash on a schedule with no model in the loop. ChatGPT can stay closed.
ChatGPT can schedule a prompt. That still wakes a model.
A scheduled prompt opens a new thread. There is no disk from last week. There is no table to query and no address to send from. The model rewrites the same job. It does not finish the job while you are away.
Sails is Routines for that chat. Your AI assistant thinks once and writes bash. The routine runs on the clock. Deterministic. No model in the loop. Mail, files, and databases stay available after the tab closes.
Ask in ChatGPT. The routine runs while ChatGPT is closed.
You name the schedule and the job. Your AI assistant writes the routine once. After that, bash reads the table and sends the mail on its own.
Keep open estimates in a database. Northside kitchen, $12,400, sent August 20, nora@northside.co.
Created table estimates
In the table. Sent August 20.
Every weekday at 7, email me a short list of estimates older than seven days. From my Sails Mail address.
Created routine stale-estimates (weekdays 7:00)
Routine is on. It queries the table and mails you. No model in the loop.
Did this morning's run find anything?
Queried table estimates
Sent mail from ops@sails.app
One stale estimate: Northside kitchen, 28 days open. Summary is in your inbox.
Background means code on a clock, not another prompt.
Routines runs bash on a schedule. It reads the same files and tables every time. It can send mail, write a report, or update a row. The rule does not drift because there is no model deciding what to do each morning.
A ChatGPT schedule still wakes a model. That is a new inference call with an empty thread. Sails keeps the disk and the keys. The routine finishes the job while ChatGPT is closed.
Your AI assistant writes that routine from the chat. You do not open a terminal. You set the time once and leave it.
What you get
Think once, then code
Your AI assistant writes the routine in chat. After that, bash runs on the schedule. Deterministic. No model in the loop.
Disk and mail stay
The routine can query a table, send from your address, and save a file. Same workspace the next chat opens.
Runs while you are away
Weekday mornings, Mondays at 8, or a webhook. ChatGPT does not have to be open. The job still finishes.
Put your AI assistant to work.
Add Sails to ChatGPT. Your AI assistant writes the routine once. Routines runs bash on a schedule with no model in the loop.