Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #195568

Re: Jessie: No logrotate since October 2016?

From Dominique Dumont <dod38fr@googlemail.com>
Newsgroups linux.debian.user
Subject Re: Jessie: No logrotate since October 2016?
Date 2018-05-10 13:10 +0200
Message-ID <vNRCq-7Xx-15@gated-at.bofh.it> (permalink)
References <vI9iF-1Ye-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Jessie: No logrotate since October 2016? John Cunningham <djohngo@gmail.com> - 2018-04-24 18:50 +0200
  Re: Jessie: No logrotate since October 2016? Sven Joachim <svenjoac@gmx.de> - 2018-04-24 20:10 +0200
    Re: Jessie: No logrotate since October 2016? Boyan Penkov <boyan.penkov@gmail.com> - 2018-04-24 20:10 +0200
      Re: Jessie: No logrotate since October 2016? Brad Rogers <brad@fineby.me.uk> - 2018-04-24 20:30 +0200
        Re: Jessie: No logrotate since October 2016? Boyan Penkov <boyan.penkov@gmail.com> - 2018-05-04 01:40 +0200
  Re: Jessie: No logrotate since October 2016? Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2018-05-06 11:30 +0200
    Re: Jessie: No logrotate since October 2016? Boyan Penkov <boyan.penkov@gmail.com> - 2018-05-06 19:20 +0200
    Re: Jessie: No logrotate since October 2016? John Cunningham <djohngo@gmail.com> - 2018-05-08 18:20 +0200
  Re: Jessie: No logrotate since October 2016? Dominique Dumont <dod38fr@googlemail.com> - 2018-05-10 13:10 +0200

csiph-web