How to run scripts from the console

Although you need a browser to work with Eonza, you can run scripts directly from the console. In this case, all console input and output will also be in the current console. If the script uses Forms or Messages, they will be displayed in the browser. Note that even if you run the script from the console, you can view its status and log in Task manager at any time. The following is a sequence of steps to enable the console mode.

Step 1: Copy the executable file

Copy the Eonza executable file to any directory that is specified in the PATH environment variable. In this case you will not need to specify the path to the Eonza program. For example, for Linux this could be the directory /usr/local/bin.

Step 2: Rename the copied file

You should now rename the copied file so that its name starts with ez. You can simply rename it to ez. For checking, run this file in any directory. You should get the message like this Usage: ez <scriptname>.

Step 3. Run the script

If you have changed the default port in the configuration file then you also need to add the global environment variable EZPORT and assign it the appropriate port.


To run the script you need to specify the name of this script as a parameter, which is defined in the field Settings - Name. It is also necessary that the Eonza program is running at that moment.

Downloads Documentation Scripts