• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question [NodeJS Extension] How i can call nodejs related tasks using XML-API

Werner Mairl

New Pleskian
tasks where i'm interested:

npm run (script execution)
restart app (like the button with the same title inside the extension ui)*
npm install

there is some documation about get/set of default NodeJS settings for the extension BUT missing any information about tasks like this.

I can assume that the xml-syntax must be like the following:


<packet>
<extension>
<call>
<nodejs>
<XXXX>
.......
</XXX>
</nodejs>
</call>
</extension>
</packet>

anyone can help me or point me in the right direction.....

big picture/what i do using XML-API
1. Git Pull Upadate
2. npm-script to do some prepartions, including multiple npm installs
3. restart the app

the entire workflow is up and running with the extension UI, but for dev-ops i need it over XML-API!

regards
Werner
 
Back
Top