Skip to main content

Scheduled Test Run Options (Parallel, Serial & Random Window)

Configure cron schedules, Parallel, Serial, and Random time-window run modes, agent locks, and Run Now triggers for NetBeez Scheduled Tests.

Written by Panickos Neophytou

When multiple agents execute a Scheduled Test, running every agent at the exact same second can saturate shared WAN links or overwhelm a single destination server. NetBeez NextGen (Version 20.0+) combines flexible cron scheduling, three execution modes (Parallel, Serial, and Random within a time window), per-agent concurrency locks, and one-click Run Now triggers so you can control network load precisely.

In this article:

Configuring the Cron Schedule

Every Scheduled Test Template runs on a standard 5-field cron schedule evaluated once per minute. In the Schedule step of the Scheduled Test wizard, use the Every dropdown to define your cadence visually or enter a raw cron expression:

  • Hour: Runs every hour at one or more selected minutes (default: minute 0, or 0 * * * *).

  • Day: Runs daily at one or more selected hours (0–23) and minutes.

  • Week: Runs on selected days of the week (Monday through Sunday) at the chosen hours and minutes.

  • Custom: Reveals the Custom Cron input so you can enter any valid 5-field cron schedule (for example, 0 9 * * 1-5 to run at 09:00 Monday through Friday, or 0 */6 * * * to run every 6 hours).

Below the controls, the Human Readable summary previews the parsed schedule—displaying common presets (such as Every hour or Every 6 hours) or the exact Next: <date/time> occurrence formatted in your Account Profile timezone.

Execution Modes: Parallel, Serial, and Random

Multi-agent templates—Iperf, Many to 1, Network Speed, and Custom Command—display a Run Mode dropdown on the Schedule step. (One-to-one templates such as Iperf, 1 to 1 and VoIP test a single source-to-destination pair and omit the multi-agent Run Mode selector.)

Run Mode

How Agents Execute

Recommended Use Cases & Defaults

Parallel

Acquires locks for all participating agents at once and starts the test across all source agents simultaneously.

Default for Network Speed and Custom Command. Best when sites or remote workers have independent internet circuits or run lightweight scripts.

Serial

Runs the test on one source agent at a time, waiting for the active agent to finish before starting the next agent.

Default for Iperf, Many to 1. Prevents multiple agents from contending on a shared WAN uplink or single-client external iperf3 server.

Random

Spreads source agent executions across a selected Run Window (30, 60, 90, 120, or 150 minutes; default 60 minutes).

Ideal for large fleets (for example, hundreds of Remote Workers running Network Speed tests) to smooth bandwidth load across a broader window.

Important Run Window Validation Rule: When Run Mode is set to Random, the time between consecutive cron executions must be strictly greater than your selected Run Window. For example, if you choose a 60 minutes Run Window, an hourly schedule (0 * * * *) will be rejected because consecutive windows would touch or overlap—use a wider schedule such as every 2 hours (0 */2 * * *) or daily, or select a 30 minutes Run Window for hourly runs.

Scheduled Test wizard Schedule step showing cron frequency selectors, Run Mode set to Random, Run Window set to 60 minutes, and Human Readable schedule preview

Configuring Schedule and Run Mode in the Wizard

  1. Navigate to Scheduled Tests in the primary left sidebar.

  2. Click Add Template (for a new test) or open an existing template, click More (...), and select Edit.

  3. Advance to (or click) the Schedule step.

  4. Choose the desired cadence under Every (Hour, Day, Week, or Custom) and verify the Human Readable schedule preview.

  5. For Iperf, Many to 1, Network Speed, or Custom Command, select Parallel, Serial, or Random under Run Mode. If you select Random, pick a Run Window (30 minutes, 60 minutes, 90 minutes, 120 minutes, or 150 minutes) shorter than your cron interval.

  6. Click Save & Close (when editing) or continue to the final step and click Create Scheduled Test / Update Scheduled Test.

Agent Locks, Test Pausing, and Orchestration Order

  • Per-Agent Concurrency Locks: NetBeez maintains per-agent run locks so an agent never executes two overlapping scheduled tests simultaneously. In Parallel mode, all participating agent locks are acquired together before execution begins; if any agent is currently locked by another run, the new run queues its lock request and starts automatically as soon as locks free up. In Serial and Random modes, source agent locks are acquired individually as each agent's turn arrives. Any stale lock held longer than 30 minutes is automatically released.

  • Destination-Before-Source Startup: For agent-to-agent templates (Iperf, 1 to 1 and VoIP), the run state machine initializes the listener on the Destination agent first and waits for confirmation before starting traffic from the Source agent.

  • Automatic Target Test Pausing: While an agent is actively running its scheduled test slice, periodic Target Tests on that agent pause automatically so background pings or HTTP checks do not skew throughput or voice measurements, and Target Test alerts are not falsely triggered.

Triggering an Immediate Run with Run Now

You do not need to wait for the next cron tick to verify a template or troubleshoot an active issue:

Scheduled Test detail header showing the primary Run Now button alongside Code and More controls
  • Open any Scheduled Test Template and click Run Now in the top-right header (available to Read-write and Administrator users).

  • NetBeez immediately creates a manual run honoring the template's configured Run Mode, displays the live Test is running badge on the Results card, disables the Run Now button until the active run finishes, and streams new results into the chart in real time.

  • Both scheduled and manual runs record an agent scheduled-test run event, which appears by default as vertical markers on Target Test graphs via the Overlays menu.

Did this answer your question?