Automation Runtime setup

Run scheduled jobs in the background with the Sparx Automation Runtime.

The Sparx Automation Runtime is a Windows service that runs your scheduled jobs in the background, even when nobody is signed in. It requires a Business or Enterprise plan, a Pro plan with the Pro Automation Runtime add-on, or an active trial.

Install

  1. Run the installer and choose Automation Runtime server.
  2. The service starts automatically. In Windows Services it is listed as Sparx Automation Runtime.
  3. Open Sparx and activate your license from Settings → License. The machine activates as an Automation Runtime, not a builder seat.

Schedule a job

In the desktop app, open a job, click Schedule and choose when it runs. The Automation Runtime then runs the job at the scheduled times.

Server sizing

Each running job uses about 0.4 GB of memory, and a server runs about two jobs per vCPU efficiently. For example, a server with 2 vCPUs and 8 GB of memory runs 4 jobs at the same time. See System requirements for recommended server sizes.

Concurrent job limit

Sparx detects the server’s processor cores (vCPUs) and memory and sets the number of jobs that can run at the same time automatically. To change the limit, use the Running Jobs: X of N selector in the Job Engine Manager. The limit applies to the desktop app and the Automation Runtime combined.

  • Jobs beyond the limit wait in a queue and start in order as running jobs finish. A queued job’s timeout begins only when the job starts running. To remove a job from the queue, click Stop.
  • New jobs also wait while free memory is low (below 1 GB, or 10% of total memory), even if the limit has not been reached.
  • When you save or enable a schedule, Sparx warns you if it would cause more jobs to run at the same time than the limit allows, and suggests a start time that fits.
  • Sparx sends an alert when the server is low on memory, processor capacity or disk space, or when a job waits in the queue for 15 minutes or longer. Alerts are displayed in the app and emailed to your default notification recipients. Email alerts can be turned off in Settings → Email / SMTP. See Built-in safeguards.

Setting the SPARX_MAX_RUNNING_JOBS environment variable on the server overrides the limit and locks the selector.

When scheduling pauses

The Automation Runtime stops running scheduled jobs when:

  • the trial ends,
  • the subscription has lapsed and the 7-day grace period has ended, or
  • the machine has been reset from the account portal.

Manual runs in the desktop app are not affected.