Hi,

Anyone here know why my override of the default OnCalendar for
updatedb.timer isn't replacing the default 00:00 with 20:12, but instead
adding to it?  It's as if the ‘OnCalender=’ which is meant to clear any
existing values is having no effect.

    $ systemctl cat updatedb.timer
    # /usr/lib/systemd/system/updatedb.timer
    [Unit]
    Description=Daily locate database update

    [Timer]
    OnCalendar=daily
    AccuracySec=12h
    Persistent=true

    # /etc/systemd/system/updatedb.timer.d/override.conf
    [Timer]
    OnCalender=
    OnCalendar=20:12
    Persistent=no
    $

The NEXT and LAST show both are being used.  The override.conf has been
unaltered for many days.

    $ systemctl list-timers updatedb.timer
    NEXT                         LEFT     LAST                         PASSED 
UNIT           ACTIVATES
    Wed 2020-09-09 20:12:00 BST  14h left Wed 2020-09-09 00:00:01 BST  6h ago 
updatedb.timer updatedb.service

    1 timers listed.
    Pass --all to see loaded but inactive timers, too.
    $

-- 
Cheers, Ralph.

-- 
  Next meeting: Online, Jitsi, Tuesday, 2020-10-06 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to