🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.raspberry-pi
Article #83

Re: Starting a NODE app from a Cron job or start-on-boot

#83
From: druck
Date: Thu, 12 Nov 2026 15:27
13 lines
1836 bytes
On 12/11/2026 13:34, NY wrote:
> I've got a Pi running Raspberry Pi OS Bookworm. I've been starting a 
> NODE app (not mine - one that I've downloaded) from a cron job and using 
> one of the start-at-boot mechanisms (I forget which!).
> 
> This has worked until did a "sudo apt update" and "sudo apt upgrade".
> 
> Now the cron job fails to start the app, even though an explicit 
> background job works from a terminal window.
Have you tried updating all of the npm packages too?
Or is this likely to cause more problems than it solves?

---druck
Technical Details
Message-ID: <11d4ls9$218t$1@druck.eternal-september.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!druck.eternal-september.org!.POSTED!not-for-mail
References: <11d4f94$3ve0f$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!druck.eternal-september.org!.POSTED!not-for-mail
From: druck <news@druck.org.uk>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Starting a NODE app from a Cron job or start-on-boot
Date: Thu, 12 Nov 2026 15:27:04 +0000
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <11d4ls9$218t$1@druck.eternal-september.org>
References: <11d4f94$3ve0f$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 12 Nov 2026 15:27:06 +0000 (UTC)
Injection-Info: druck.eternal-september.org;
	logging-data="66845"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/St+4tdxn2/yljMDhBc+2h"; posting-host="83766b97b3d8bad81c62a1f3f9491dd4"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:CnnRyBJaVoe5pZQhj/oTwajTgBg= sha256:0K6ViII8wtnevsXFOIMI0OsBCvBgTUriDnAj2mJTlcw=
	sha1:7TXJsXI3/OIahC9rmb+6D3nBEsc= sha256:Gj5/I0lQNW7VzmOsy2pogdb6t1ZcPBqtOjQxvjO3hmY=
Content-Language: en-GB
In-Reply-To: <11d4f94$3ve0f$1@dont-email.me>