Bug#818698: does not convert crontabs correctly

Michael Meskes meskes at debian.org
Sat Mar 19 20:15:00 GMT 2016


Package: systemd-cron
Version: 1.5.3-1
Severity: grave

I just installed systemd-cron to try it out and found that it only partly
translated my crontabs. For instance my crontab says:

26 * * * * foo
14,44   * * * * bar

However at 21:10 I got this:

michael at feivel:~$ systemctl list-timers |grep michael
Sa 2016-03-19 21:44:00 CET   32min left          n/a                         n/a          cron-michael-michael-1.timer cron-michael-michael-1.service
Sa 2016-03-19 22:26:00 CET   1h 14min left       n/a                         n/a          cron-michael-michael-0.timer cron-michael-michael-0.service

Obviously the very first execution of each job is missing.

Also I found that changing a crontab to have something executed in a few
minutes always gives me a timer in 24 hours.

Since this could result in data loss, depending on what the job is supposed to
do (backup!) I think grave is correct, but your mileage may vary.

What do I miss?

Michael

-- Package-specific info:
-- output of systemd-delta

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-rc7-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd-cron depends on:
ii  init-system-helpers  1.29
ii  python3              3.5.1-2
ii  systemd-sysv         229-2

Versions of packages systemd-cron recommends:
ii  postfix [mail-transport-agent]  3.0.4-5

systemd-cron suggests no packages.

-- no debconf information



More information about the Pkg-systemd-maintainers mailing list