As the script executes every 2’, I want it to run from a tmpfs ramdisk location to improve system performance and SD wear. I was thinking cron running it from /run , but I wonder what’s the best strategy to copy the .py script in there at boot time.
Any suggestions / best practices? Thx, Wolf
PS: BTW, the script produces a txt file to be parsed by RpiMonitor, I pushed it to /var as this is also a tmpfs location.