Switch to desktop version  
Script execution autorun is not working - Printable Version

+- Ewon Technical Forum (https://techforum.ewon.biz)
+-- Forum: Development (https://techforum.ewon.biz/forum-50.html)
+--- Forum: BASIC Script (https://techforum.ewon.biz/forum-52.html)
+--- Thread: Script execution autorun is not working (/thread-2723.html)



Script execution autorun is not working - skim - 25-02-2025

Hi there, 

I'm testing the flexy205 script now and I noticed that script execution was not working automatically after reboot the machine. 
(The script is to send the PLC data to Azure SQL)
I marked as "Autorun" and the blue Icon on the right top was changed to "RUNNING" automatically after reboot, but script was only correctly running after I made it stop and run again manually.

I'm not sure it is setting issue or script issue. 

Could you please advise?

Thank you,


RE: Script execution autorun is not working - ziozetti - 25-02-2025

Just a couple of suggestion (like it were Microsoft forum):
- update firmware
- try with a very simple code that you are sure is correct and reboot Ewon to see if autorun works

I guess there's something wrong in script that needs to be re-executed after Ewon bootstrap. Maybe you can try adding a timer on script so it will run only when connection is established (if Ewon is connected via 4G).