Schedule & Webhook
Tests > Schedule runs the scenario folder by itself while the tool is open, daily at a time or every N minutes, and posts the result to a webhook. A Discord URL gets an embed, anything else a plain JSON body.

Set it up
Pick when
At night runs daily at a time. On a timer runs every N minutes.
Paste the webhook
A Discord webhook URL, or any other URL that takes a JSON body.
Pick the extras
Each file runs up to 50 times per round; more than one run shows flaky steps. Tick build and deploy to run after a fresh deploy.
Save
Run now starts a round right away.
When it runs
- Daily runs once the time has passed since the tool started and since the last run. A time missed while the tool was closed does not run on start, and a run by hand after the time counts for the day.
- Interval counts from the tool start or the last run.
- Run now and the schedule never start while another scenario run holds the bots.
- A run that cannot start (no scenario folder, the deploy failed to build) is posted once per reason, not on every tick.
What gets posted
Discord embeds are cut to fit its limits: every line at 150 characters and the whole description under 3900.
With "Also post every deploy" on (webhookOnDeploy), each deploy and watch deploy posts its result to the webhook too. See Hot Deploy.
Over HTTP
| Endpoint | Parameters |
|---|---|
/schedule/run | wait=1 |
/schedule/status |
curl -H "X-ITT-Token: $TOKEN" "localhost:8767/schedule/run?wait=1"
curl "localhost:8767/schedule/status"/schedule/run needs the API token. See HTTP API.