I'm trying to run a python script automatically when the raspberry pi 4 turns on, and I'm using crontab to do it. The script is a GUI that helps fill and search a database. the raspberry pi doesnt give any errors or exceptions, it just turns on normally and gives no signal of running the script. the command I used in crontab is:
@reboot python3 /home/pi/Desktop/folder/gui.py &
the libraries that the script uses are:
- tkinter
- subprocess
- pyserial
- csv
thank you for your time, this is my first time working in the raspberry pi or a linux environment so I dont understand many things about it.