Overview

When configuring a deployment that uses the script executor, you will be prompted to provide the script content to execute in the web code editor.

It supports both bash and powershell scripts.

Usage

To see all available options, run:

ctrlc sync exec --help

Here is a basic example of how to start the job agent:

ctrlc sync exec \
    --name "my-script-agent" \
    --interval 5s

This will register a new job agent with the name my-script-agent and check for new jobs to run every 5 seconds.