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


Groups > linux.debian.user > #203040

Re: systemd+anacron breaks cron jobs

From Michael Biebl <biebl@debian.org>
Newsgroups linux.debian.user
Subject Re: systemd+anacron breaks cron jobs
Date 2018-12-05 09:00 +0100
Message-ID <x1Ag9-7Gb-3@gated-at.bofh.it> (permalink)
References <x1zk5-786-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Am 05.12.18 um 07:41 schrieb Michael Biebl:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864213#25
> If you drop /lib/udev/rules.d/60-anacron.rules my bet is that the
> problem is gone.

Btw, I'd go as far and say that you can safely drop anacron these days.
A lot of Debian packages which ship a cron job also ship a native
systemd .timer. Such persistent timers handle systems which don't run
24/7 in a much better way.

In your case, I would recommend to use a .timer to start your backup
task. The arch wiki [2] is a good start, or simply take a look at
existing timers on your system:

systemctl cat logrotate.service logrotate.timer

Regards,
Michael

[1]
https://www.freedesktop.org/software/systemd/man/systemd.timer.html#Persistent=
[2] https://wiki.archlinux.org/index.php/Systemd/Timers
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

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


Thread

Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 08:00 +0100
  Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 09:00 +0100
    Re: systemd+anacron breaks cron jobs kjonca@fastmail.com (Kamil Jońca) - 2018-12-05 09:20 +0100
      Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 10:10 +0100
        Re: systemd+anacron breaks cron jobs kjonca@poczta.onet.pl (Kamil Jońca) - 2018-12-05 10:30 +0100
          Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 11:10 +0100
            Re: systemd+anacron breaks cron jobs kjonca@fastmail.com (Kamil Jońca) - 2018-12-05 11:10 +0100
              Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 11:10 +0100
                Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 11:20 +0100
                Re: systemd+anacron breaks cron jobs kjonca@poczta.onet.pl (Kamil Jońca) - 2018-12-05 11:30 +0100
                Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 11:50 +0100
                Re: systemd+anacron breaks cron jobs kjonca@poczta.onet.pl (Kamil Jońca) - 2018-12-05 12:00 +0100
                Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 12:40 +0100
                Re: systemd+anacron breaks cron jobs kjonca@poczta.onet.pl (Kamil Jońca) - 2018-12-05 12:50 +0100
                Re: systemd+anacron breaks cron jobs Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-12-05 19:00 +0100
                Re: systemd+anacron breaks cron jobs kjonca@poczta.onet.pl (Kamil Jońca) - 2018-12-05 19:20 +0100
                Re: systemd+anacron breaks cron jobs Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-12-05 19:40 +0100

csiph-web