Hi team, I need your help, I have a python script which is working very well in plcnext and I need this script to run when I turn on the plc, this script sends data to a governmental API here in Chile. What do you advise me to do? Do you have any experience with Linux Bash script to automate linux tasks? what do you recommend me to do?
Hi Luis,
You probably know this already, but this is a standard Linix systems administration question, not specific to PLCnext Control devices. You will need to find someone who knows how to write and maintain init.d scripts on Linux operating systems. If you want to learn about this yourself, there are various places on the internet that can help: [url="https://www.google.com/search?q=how+to+write+an+init.d+script"]https://www.google.com/search?q=how+to+write+an+init.d+script[/url] As an example, you can take a look at the init.d script that is used to control the PLCnext Runtime, which is in this file on the PLC: /etc/init.d/plcnext I hope this gives you some ideas for how to proceed.
Thanks Martin, I’ll check it out and let you know how it goes