giip
SES Proposal
5 min read

CQELSVR Run List Guide

Learn how to view the CQE (Custom Query Engine) script schedules registered on a specific logical server (LSSN), and how to force-run, toggle activation, delete, and view scripts for them.

๐Ÿš€ Go to CQELSVR Run List โ†’

๐Ÿ“‹ Overview

The CQELSVR Run List shows and directly controls the CQE script schedules (tMgmtScriptList) registered on one logical server (LSSN). Once you select a server, its registered schedules are listed, and each row lets you force-run, toggle activation, delete, or view the script body immediately.

๐Ÿ” Screen Layout

1. Server Selection

  • LSSN input: type a logical server ID (LSSN) directly into the field at the top.
  • Select button: opens a popup listing the servers registered under the current project (csn). Picking one fills in the LSSN field automatically.
  • Session memory: the last selected LSSN is saved to browser sessionStorage and survives a page reload.

2. Viewing the Run List

  • Run button: after entering or selecting an LSSN, click this to load that server's schedule list below.
  • Paging: use Prev / Next to move page by page, or type a number into the Offset field and press Run to jump to a specific offset. (The server returns at most 25 rows per request.)

3. Per-Row Actions

Each row (one schedule = one mslsn) supports:

  • Force run: queues an immediate one-time run regardless of the schedule's interval. Fails if a run for this schedule is already queued.
  • Toggle activation: flips this schedule's Active state on/off.
  • Delete: permanently removes this schedule (mslsn) from the list โ€” this is a hard delete, not a simple cancel; it must be re-registered if needed again.
  • View script: clicking the run ID (mssn) on a row shows that script's body in a panel (or popup) below.

4. Navigating to Detail Pages

  • Machine Detail button: goes to the selected LSSN's detail page (/lsvrdetail).
  • Add Queue button: goes to /en/cqeQueuePut to register a new schedule for this server.

๐Ÿ“Š Column Reference

ColumnDescription
msNameName of the registered script
mssnUnique script ID. Click to view the script body.
mslsnUnique ID of this schedule (server-to-script assignment). This is the target of force-run/toggle/delete.
lssnThe logical server this schedule is registered on
activeWhether the schedule is enabled (1=on / 0=off)
repeatWhether/how the schedule repeats
intervalRepeat interval, in minutes
q_flagWhether the schedule is currently queued for execution
lastdateTime the schedule was last queued/run
regdateTime this schedule was registered

โš™๏ธ Requirements

  • Requires a logged-in session (CSN) โ€” without one, the server list cannot be loaded.
  • The LSSN you look up must be registered under the currently selected project.
  • Force-run and activation toggle require you to own the schedule, or hold separate permission (e.g. a marketplace purchase).

API Reference

For detailed API specifications of this feature, refer to the dedicated guide.

๐Ÿ“˜ System Management API Reference

Troubleshooting

SymptomCauseResolution
The server-select popup shows an empty listNo servers are registered under the currently selected project (csn)Confirm the correct project is selected at the top.
Force run silently failsA run for this schedule is already queued (duplicate prevention), or you lack permission on itRetry later, or check with the schedule's owner.
The row still appears after deleting itThe delete succeeded but the screen hasn't refreshed yetPress Run again to reload the latest list.
Turning activation on doesn't run it immediatelyActivation only re-enables the scheduled run, it does not trigger an immediate executionUse Force run if you need it to run right now.

๐Ÿ”Œ CQE API (for automation)

The UI actions above map to these CQE API verbs (byAK/bySk dispatcher). Requests send text (verb + parameter names), jsondata (values), and token โ€” except the list query (CQELsvrRunList), which is the one exception: its parameters are embedded directly in the text string (no jsondata).

  • CQELsvrRunList lssn <lssn> <offset> โ€” list the schedules registered on that LSSN. The server always returns at most 25 rows from the given offset (fixed, not caller-configurable). Response columns match the "Column Reference" table above.
  • LSVRList csn โ€” list the logical servers registered under that csn (project); used by the server-select popup.
  • CQERunForce mslsn โ€” queues an immediate one-time run regardless of schedule. Response RstVal: 200=success, 300=no permission, 302=already queued (conflict), 610=insufficient permission or gas balance.
  • CQERunActvate mslsn โ€” toggles that schedule's active value between 1 and 0. Uses the same RstVal scheme as CQERunForce (200/300/302/610).
  • CQEQueueDel mslsn โ€” permanently deletes that schedule (not a simple cancel โ€” it must be re-registered). Response RstVal: 200=success, 403=no permission, 404=not found.
  • CQERepoScript mssn โ€” fetches that script's (mssn) body (msBody).

Auth model: this page's API does not use the giip-issue skill's x-api-key/SK model โ€” it uses the logged-in session's token model, sending user_id + token with each request.

Full specification for the adjacent feature (script registration / bulk server deployment): the "๐Ÿ”Œ CQE API (for automation)" section of the CQE Repository Script Management Guide, and giipdb docs/30_Specs/CQE_SPECIFICATION.md.


Version: 1.1 Last Updated: 2026-09-06 Source File: giipv3/public/help/cqelsvrRunList.en.md