Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2901

General Questions • Re: Were does the output from scripts in cron.daily go?

$
0
0
Hello,
[..]
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?
According to the cron man page:
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.
Is the anacron program installed in your computer ? You can verify with:

Code:

apt list anacron
P.S. I don't understand why this thread was moved. Isn't cron configuration a system configuration?
There is no configuration to be done, so far.

Hope this helps.

Statistics: Posted by Aki — 2025-01-30 22:25



Viewing all articles
Browse latest Browse all 2901

Trending Articles