Re: Jessie: No logrotate since October 2016?
On mardi 24 avril 2018 18:40:55 CEST John Cunningham wrote:
> I cheated and added logrotate to root's crontab as an ugly hack to get them
> rotating. What is the *right* way to get it going again?
I just noticed a similar problem on my system. I've installed systemd-cron and purged cron.
Now systemd handles daily jobs:
$ systemctl status cron-daily.timer
● cron-daily.timer - systemd-cron daily timer
Loaded: loaded (/lib/systemd/system/cron-daily.timer; static; vendor preset: enabled)
Active: active (waiting) since Thu 2018-05-10 12:46:37 CEST; 3min 37s ago
Trigger: Fri 2018-05-11 06:25:00 CEST; 17h left
Docs: man:systemd.cron(7)
mai 10 12:46:37 gandalf systemd[1]: Started systemd-cron daily timer.
Now log files should be rotated again.
HTH
--
https://github.com/dod38fr/config-model/ -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org
Reply to: