Content One: Configure the mirror schedule
1.1 Modify /etc/systemd/system/multi-user.target.wants/rmt-server-sync.timer file
# vi /etc/systemd/system/multi-user.target.wants/rmt-server-sync.timer
Modify all content as follows:
[Unit]
Description=RMT Sync timer
[Timer]
OnCalendar=*-*-01 01:00:00
RandomizedDelaySec=9h
Unit=rmt-server-sync.service
[Install]
WantedBy=multi-user.target
(Note: here is an example with setting the mirror schedule to the 1st of every month)
1.2 Apply the settings to make them take effect
# systemctl restart rmt-server-sync.timer
# systemctl restart rmt-server-mirror.timer
Content Two: Disable the mirror schedule
2.1 Disable the mirror schedule
# systemctl disable --now rmt-server-sync.timer
# systemctl disable --now rmt-server-mirror.timer
# systemctl daemon-reload
2.2 Manual Mirror
# rmt-cli sync
# rmt-cli mirror
Or:
# rmt-cli sync ; rmt-cli mirror
