I want to create a script in MikroTik to log downtime and then read it when the system is back up, followed by sending it to Telegram. However, the script fails to create the file properly when applied in Netwatch. Interestingly, when I try it in the terminal, everything works perfectly, and there are no issues.
Even the following command:
/file print file="test.txt"
Cannot be executed by MikroTik. I have tested it on v6.49 and plan to apply it to hAP Lite 941 with v6.48.6 and v6.47.10.
Is there anyone who can assist me?