Netwatch hAP Lite doesn't work automatically

I made a script for logging WireGuard using NetWatch, see here:

http://forum.mikrotik.com/t/tool-using-splunk-to-analyse-mikrotik-logs-4-0-graphing-everything/153043/3