Skip to content

Perpetual Scripts

Perpetual scripts automatically restart upon completion unless explicitly canceled. This feature enables continuous service operation within Orvanta.

To activate this functionality, navigate to the script’s Settings panel, locate the Runtime tab, and toggle the Perpetual Script option. After enabling, you must deploy the script for changes to take effect.

Perpetual scripts can be stopped by canceling any active job through the Cancel button. Alternatively, select Scale down to zero from the Current runs tab to halt all running instances.

The “Service script pattern” approach demonstrates how to implement a continuous background service using perpetual scripts — for example, consuming messages from Apache Kafka.