Translations:Движок правил wb-rules/4/en
Версия от 17:49, 3 июня 2019; RomanKulibaba (обсуждение | вклад) (Новая страница: «*The list of files with rules is on the ''Scripts'' page of the web interface. *Click the file name to open it for editing. **To create a new file, click ''New...…»)
- The list of files with rules is on the Scripts page of the web interface.
- Click the file name to open it for editing.
- To create a new file, click New... at the top, enter the name of the script (use only Latin letters and numbers for the name, specify as an extension .js), in the main field, enter the text of the script, then click the Save button at the top.
The rule starts automatically after you click Save if there are no errors (see below). Notes:
- The rules files are stored on the controller as plain text files in the
/etc/wb-rules/
folder, so they can be edited and downloaded directly from your computer. - The rules are executed by the wb-rules service, see the service's documentation on Github.