My latest command wasCode:
@reboot sleep 60; python3 /home/admin/Spike/ForceSensor.py &
If you need that sleep an @reboot cron job is the wrong method. Work out why you need the sleep and use a more apropriate one: a systemd service with apropriate dependencies or one of the methods provided by the desktop.
I'm guessing you haven't applied the advice in section 8 of Running A Program At Start Up A Beginner's Guide. I suggest you do so and come back when you have the actual error being thrown. Getting that from cron is in s8.1.3
All I (or anyone else) can do without the error message is to guess and that will likely waste everyone's time.
Statistics: Posted by thagrol — Wed Jan 24, 2024 4:09 pm