NodeActa Command (nodeacta.command.exe)
If you need to perform some background processing, or you need to run an app without user interface, you can use NodeActa Command and avoid the overhead of Application Center. NodeActa Command is a more lightweight application compared to Application Center, allowing it to start faster and use less memory.
NodeActa Command Switches
host
: Address/url and port of NodeActa server. If port is ommited, the default 8090 port is used.user
: User name used to login to the system.password
: Password used to login to the system.app
: Name of the app to run.out
: If app'srun()
metod returns value/object, it will be serialized to JSON and written to the specifiedout
file path.allow-fs-read
: By default, the NodeActa Command application has access to the entire file system. To restrict the application's read access, specify the files or directories it will be allowed to access.allow-fs-write
: By default, the NodeActa Command application has access to the entire file system. To restrict the application's write access, specify the files or directories it will be allowed to access.
Hint
Switches allow-fs-read
and allow-fs-write
must be used together. If they are used, for the system to work, they must always include directories:
-allow-fs-read "C:\Program Files\NodeActa\Command\*"
-allow-fs-read "C:\Users\Admin\Documents\NodeActa\*"
-allow-fs-write "C:\Users\Admin\Documents\NodeActa\<USER>\*"
Example
nodeacta.command.exe -host localhost:80 -user root -password root
-app "HR.ProcessOvertime"
-param "some value" -anotherParam "some other value"
-allow-fs-read "C:\Program Files\NodeActa\Command\*"
-allow-fs-read "C:\Users\Admin\Documents\NodeActa\*"
-allow-fs-read "C:\Temp\*"
-allow-fs-write "C:\Users\Admin\Documents\NodeActa\root\*"
-allow-fs-write "C:\Temp\*"
-out "C:\Temp\out.json"