- General Information
- Server Administration
- Mission Database
- Data Management
- Data Links
- Processors
- Commanding
- Services
- Security
- Web Interface
- Programs
Yamcs Release Notes
Yamcs HTTP API
Source Code Documentation
Procedures¶
The Procedures group within the Yamcs web interface provides access to procedural functionality.
Run a script¶
The "Run a script" page lets users execute predefined scripts. Scripts are stored under etc/scripts
.
Script files may be directly executable, or be associated to another program based on its file extension.
The default associations are:
Extension |
Program |
---|---|
java |
java |
js |
node |
mjs |
node |
pl |
perl |
py |
python -u |
rb |
ruby |
Scripts can be selected from a drop-down. Arguments can be specified, in the format expected by the Script runtime. Scripts can be run immediately or later. If later, they will appear on the Timeline.
Once started, the Script appears on the Activities page list. The Script Activity automatically marks itself successful or failed based on the script exitcode (0 for success). If the script generates an output, it can be viewed by clicking on the Script Id on the Activities page.