Timers of transactional-update.timer

I have a override file for update it at 8:10 am, but still update 2 times at day; at the time i set and at 00:07:02 CEST. Why it don’t use only the time i set?

● transactional-update.timer - Daily update of the system
     Loaded: loaded (/usr/lib/systemd/system/transactional-update.timer; enabled; preset: enabled)
    Drop-In: /etc/systemd/system/transactional-update.timer.d
             └─override.conf
     Active: active (waiting) since Wed 2025-08-06 16:48:02 CEST; 37min ago
 Invocation: e5b9879b3f2a4c2a8ca6924281da4ac8
    Trigger: Thu 2025-08-07 00:07:02 CEST; 6h left
   Triggers: ● transactional-update.service

[Unit]
 Description=Daily update of the system
 Documentation=man:transactional-update(8)
 After=network.target local-fs.target

 [Timer]
 OnCalendar= Mon..Sat  08:10:00
 AccuracySec=1m
 RandomizedDelaySec=10m
 Persistent=true

 [Install]
 WantedBy=timers.target

Show

systemctl cat transactional-update.timer

This is another pc, with different timers, but same behaviour…

# /usr/lib/systemd/system/transactional-update.timer
[Unit]
Description=Daily update of the system
Documentation=man:transactional-update(8)
After=network.target local-fs.target

[Timer]
OnCalendar=daily
AccuracySec=1m
RandomizedDelaySec=2h
Persistent=true

[Install]
WantedBy=timers.target

# /etc/systemd/system/transactional-update.timer.d/override.conf





 [Unit]
 Description=Daily update of the system
 Documentation=man:transactional-update(8)
 After=network.target local-fs.target

 [Timer]
 OnCalendar= *-*-* 18:00:00
 AccuracySec=1m
 RandomizedDelaySec=10m
 Persistent=true

 [Install]
 WantedBy=timers.target

Is because of ‘daily’ in the /usr/lib.systemd/system ? Was thought i can only edit the /etc directory.
Edit: maybe i should disable the preset, but don’t know how…

You can clear OnCalendar by assigning the empty value. Read man systemd.timer.

But the file /usr/lib/systemd/system/transactional-update.timer is read-only.

@Gluca You can always copy the systemd timer into /etc/systemd/system and edit, or update your override file…

You can edit the original file(transactional-update shell, edit file, exit, transactional-update apply), but it would get overwritten on update…

I copied the file in the /etc/systemd/system and it worked!
I wonder why the override.conf file not was the only configuration that was loaded.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.