ubuntu@juju-2c5fbf-2:/etc/systemd/system/logrotate.timer.d$ sudo systemctl cat logrotate.timer
# Warning: logrotate.timer changed on disk, the version systemd has loaded is outdated.
# This output shows the current version of the unit's original fragment and drop-in files.
# If fragments or drop-ins were added or removed, they are not properly reflected in this output.
# Run 'systemctl daemon-reload' to reload units.
# /lib/systemd/system/logrotate.timer
[Unit]
Description=Daily rotation of log files
Documentation=man:logrotate(8) man:logrotate.conf(5)
# /etc/systemd/system/logrotate.timer.d/archive-server-idle.conf
#-------------------------------------------------#
# This file is Juju managed - do not edit by hand #
#-------------------------------------------------#
[Timer]
OnCalendar=
ubuntu@juju-2c5fbf-2:/etc/systemd/system/logrotate.timer.d$ cat archive-server-idle.conf
#-------------------------------------------------#
# This file is Juju managed - do not edit by hand #
#-------------------------------------------------#
[Timer]
OnCalendar=
OnCalendar=*-*-* 04:30:00
AccuracySec=1min