Skip to main content

executions

Every run of a script — manual, scheduled, event-driven or fired through a trigger URL — produces an execution. The executions page is the estate-wide history.

the executions list​

A stat strip gives running, completed, failed and the overall success rate, labelled last 24 hours — the table below it is not date-limited, so the two describe different sets of runs. Pending, timed out and partial counts appear whenever they are non-zero.

Three filters:

FilterOptions
StatusAll, Running, Pending, Completed, Failed, Timed Out, Cancelled, Partial
TriggerAll, Manual, Scheduled, Event, API
ScriptNarrow to one script
ColumnNotes
ScriptName and language
Status
DevicesCompleted out of total, with the failure count in red
Success Rate
Duration
TriggerHow the run was started
Started
View Details

The list shows 20 executions per page.

note

The device total counts only the devices the run actually reached. Devices that were offline when the run was dispatched are excluded entirely and never appear here — see running scripts.

execution detail​

Four overview cards at the top: Status, Devices, Success Rate and Duration.

info

While an execution is pending or running, the page refreshes itself every 3 seconds. Polling stops once the run completes, so a finished page is a settled page — use Refresh if you want to check again.

Execution Information​

A card carrying the script name and language, the description, the start timestamp, who triggered it, and — for scheduled runs — the name of the schedule responsible.

ButtonAvailability
Export CSVAlways
RefreshAlways
Cancel ExecutionOnly while the run is pending or running

Device Results​

A status filter and one collapsible row per device, showing the status, device name, exit code and duration. Expanding a row reveals:

  • an error block, if there was one,
  • the script's output, with a Copy button,
  • the completion timestamp.
tip

Filter Device Results to failed first when triaging a large run. The exit code and the error block together usually tell you whether the problem is the script or the machine.

exporting​

Export CSV produces a summary block followed by a per-device table with these columns:

Column
Device
Result
Duration (s)
Exit Code
Completed At
Error
Output
caution

The export contains the full script output for every device. If a script prints anything sensitive, that value is in the CSV. See the security note in credentials.

cancelling a run​

Cancel Execution is available while a run is pending or running.

caution

Cancelling only marks the execution as cancelled. It does not stop the run.

It does not recall commands already sent to devices, so any script already delivered to a machine will still run there. It also does not stop dispatch: devices the run has not yet reached will still be sent the script, and results continue to arrive after you cancel.

Treat cancelling as closing the record, not as an emergency stop. If a script is doing something harmful, you need to address that on the devices themselves — cancelling will not contain it.

retrying​

On a finished execution, Retry Failed (N) starts a fresh execution on every failed or timed-out device, reusing the same script, parameters and timeout. Expanding a single device row offers Re-run on this device for one machine. Either way the retry is a new execution — the original's record is unchanged, and you are taken to the new run to watch progress.

note

A retry targets online devices only, like any manual run. For work that must reach every device eventually, a recurring schedule is the better tool — each run picks up whatever is online at the time.

timeouts​

Each script carries an Execution Timeout, set when it is created and adjustable on the script's Script tab.

When a run exceeds that timeout it is marked timed out, and any devices still pending at that moment are marked timed out too. A timed-out device may still have completed its work on the machine — the timeout means PosKit stopped waiting for a result, not that the script was stopped.

tip

If a script routinely times out, raise its timeout on the script page rather than re-running it. The options are 1, 2, 5, 10, 15, 30 minutes and 1 hour. Changing the timeout does not create a new script version.