Assuming your client is a smart client, you can start a headless client with the headlessclient plugin. A headless client runs on the server. You can let the headless client execute the script using application.executeProgram().
Web- and NG-clients already run on the server, so no need to start a headless client in that case.
Joas de Haan Yield Software Development Need help on your project? yieldsd.com