Keep a Service Active with Scheduled CallsBeta
Make a service call itself at regular intervals, so it doesn't go idle between real requests.
Prerequisites
- You must have read and write permissions to services. For details, see User Roles and Permissions.
- The service must run on non-serverless hosting.
Turn On Scheduled Calls
This helps if your service gets sporadic traffic and you still want fast response times.
- Open the service, click Settings, and go to the Scheduled Calls section.
- Turn on Enabled.
- In Every (minutes), set how often the service should be called.
- Optional: In Query, type the text to send with each scheduled call. Leave it empty to dispatch an empty query.
- Optional: In Params (JSON), type extra parameters to send as valid JSON.
- Click Save.
If a schedule already exists, the section shows Last call, which is the time of the most recent scheduled call. Turn off Enabled and save to stop scheduled calls without losing your saved interval, query, and parameters.
To run a long scheduled job, such as a nightly flow, turn on Run as a durable execution before you click Save. Each scheduled call is then submitted as a durable run that isn't cut off at the request time limit and is retried if a worker restarts. For details, see Run Scheduled Calls as Durable Runs.
Related Information
Was this page helpful?