Article View: comp.os.linux.misc
Article #1949Latest PI-OS ... Root Crontab @reboot Suddenly Doesn't Work
From: c186282
Date: Sun, 01 Nov 2026 08:36
Date: Sun, 01 Nov 2026 08:36
60 lines
3488 bytes
3488 bytes
Had to re-install a unit, runs ONE Python app on restart. Pi4. latest OS release + updates. Auto-Starting has often been a pain in the ass with Linux. Easiest fix, an "@reboot" entry in root crontab. Well, suddenly, that doesn't work at all. Text copied from previous, working, install. Tried a systemd entry ... the initial, very simple, tried and true, entry didn't work either. Starts, but crashes about 30 seconds later with unhelpful logs. MIGHT just be a wonky install. Did NOT complicate things initially. No obvious issues. It's THIS weeks release, plus latest updates, so maybe a bug, or maybe a nasty TREND. Finally had to install the LXDE utils for auto-starting. DID work - but also had to install, it wasn't there by default for PIs. The old fix of manually creating a ".config/lxsession/LXDE/autostart" did NOT work - but then PiOS is a kinda cut-down LXDE. SSHD and TightVNCServer work fine. The app now starts and works - well, for five or ten minutes anyway. Gotta check the code a little, there are some hangup-detection bits in there that may encourage it to crash out (then LXDE will restart it quick enough for my needs). Shows cameras and some environmental stuff in a rotating fashion, mostly OpenCV fun. Anyway, of most concern, the @reboot stuff. I often use root crontab to simply/easily start a bunch of stuff at boot. Far easier than systemd shit. Yea yea ... PIs aren't intended to be "full computers". But STILL ....... all this stuff USED to work ...... have the developers "improved" us into oblivion once again ? Main REASON for the re-do ... super shitty wifi in the back room. The app accesses a number of devices over wifi and, esp after powering-up StarLink, the connection has become much worse. Added a USB wifi antenna - better and more positionable - and it works much better, 40% signal became 75% (note that 2.4ghz is better with walls/barriers than 5ghz) Alas the wifi got lost initially, so figured it'd just be best to just re-do the unit and install networkmanager to deal with the USB unit. THEN the mystery 'changes'.
Technical Details
Message-ID:
<PiadncWTN8KBZ3v3nZ2dnZfqnPednZ2d@giganews.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.nrbbs.org!border-1.nntp.ord.giganews.com!nntp.giganews.com!local-1.nntp.ord.giganews.com!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.nrbbs.org!border-1.nntp.ord.giganews.com!nntp.giganews.com!local-1.nntp.ord.giganews.com!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 01 Nov 2026 08:36:44 +0000 Date: Sun, 1 Nov 2026 03:36:51 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Newsgroups: comp.os.linux.misc Content-Language: en-US From: c186282 <c186282@nnada.net> Subject: Latest PI-OS ... Root Crontab @reboot Suddenly Doesn't Work Organization: wokiesux Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <PiadncWTN8KBZ3v3nZ2dnZfqnPednZ2d@giganews.com> Lines: 60 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-rWVC8Ge1KIfYm3qiQVN+dtmrBFMLpZeaQvo6JSErBYqGaRq1dxuFUb4asWV5LPR00z956T6e3IvOEOs!BQEl4gXsSeC2ZV0aWmLnTErzAe5b4o8zxr79+A4F/zUxLLO5+lF3soxCJycHAUaI0giBDIOdpto= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40