Hello,
Hope this helps.
According to the cron man page:[..]
Let's clarify my question: Why are scripts in /etc/cron.daily logged differently (i.e. not at all) than scripts started from /etc/cron.d?
Is the anacron program installed in your computer ? You can verify with:In Debian, the content of /etc/crontab is predefined to run programs under /etc/cron.hourly, /etc/cron.daily, /etc/cron.weekly and /etc/cron.monthly.
[..]
Support for /etc/cron.hourly, /etc/cron.daily, /etc/cron.weekly and /etc/cron.monthly is provided in Debian through the default setting of the /etc/crontab file (see the system-wide example in crontab(5)). The default system-wide crontab contains four tasks: run every hour, every day, every week and every month. Each of these tasks will execute run-parts providing each one of the directories as an argument. These tasks are disabled if anacron is installed (except for the hourly task) to prevent conflicts between both daemons.
Code:
apt list anacron
There is no configuration to be done, so far.P.S. I don't understand why this thread was moved. Isn't cron configuration a system configuration?
Hope this helps.
Statistics: Posted by Aki — 2025-01-30 22:25