Three kinds of action
An HTTP request to any address, one of your site functions with its input, or a short piece of JavaScript that can read your data and send email.
A site that works·Scheduled tasks
A scheduled task does one job at the times you set, whether or not anyone visits the site: a Monday report, a nightly cleanup or an hourly sync with another service.
An HTTP request to any address, one of your site functions with its input, or a short piece of JavaScript that can read your data and send email.
Pick every few minutes, hourly, daily, weekly or monthly, or write a five field cron expression. The form shows the upcoming runs before you save.
Each run is saved with its status, duration, attempts and output. A run can take up to 30 seconds, and a failed scheduled run can be retried up to three times.
Step 1
In Studio, open Tasks and click New task, or ask the AI to build it for you. Give it a name and choose how often it runs.
Step 2
Pick HTTP request, Site function or Inline code, fill in the details and click Test to try it with your unsaved changes.
Step 3
Use Run now for an extra run at any time, pause or resume the task, and follow every result in the Runs tab and in Statistics.
A cron job is a task that runs automatically at set times. You need one when something must happen regularly without anyone clicking, like sending a weekly summary or clearing old entries every night.
Anything from every few minutes to once a month. The form tells you the shortest interval allowed and warns you when a schedule is too frequent, and Run now starts one extra run whenever you want.
Save the key in Variables and reference it by name in the URL, a header or the body. The value is filled in only when the task runs, and inline code reads it from the site variables.
Add actions that really run, like sending a form or working out a price, written by the AI.
Learn moreFunctions and scheduled tasks send email on their own, like a note to you for every new order or a confirmation to the customer.
Learn moreTest every function before you publish it and see the list of calls with the errors, if there are any.
Learn moreDescribe your business and get a real website in a few minutes, for free.
Create your site for free