I have a Python script that uses Pyserial, connects to '/dev/serial0' and reads from it in loop.
The script works fine when starting it manually after the RPi is up.
However, when I added the script's activation to crontab -e, it no longer works. I get many many device disconnected or multiple access on port errors.
I don't put the code here since it's not a code issue as it works fine when activated manually.
Any help would be appreciated. Thanks in advance