Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5288

General discussion • Re: cron does not work as expected

$
0
0
Besides, rebooting every five minutes because of a problem with one program is a really stupid thing to do on a Pi. It might make sense on a microcontroller but not on a full Linux OS.

Either fix the problem code or have cron stop and restart it periodically rather than reboot the entire thing.
For weeks I have been complaining in the forums about Motion's inexplicable behavior. So far, no one has been able to help me. Specifically, the watchdog timeout only occurs outside.

You are right with your objection about reboot. I did not know

Code:

kiilall -e
This solved the problem in a less ugly way.

btw. It is a Pi 5/Bookworm

You mention syslog in "Cron - A Beginner's Guide". This file does not seem to exist on Bookworm.

Statistics: Posted by swe — Tue Jan 30, 2024 8:02 am



Viewing all articles
Browse latest Browse all 5288

Trending Articles