Update scheduler metrics every 4 hours
This triggers exactly every 4 hours but not on round timestamps.
Test Plan
octo-diff: on scheduler nodes (saatchi, scheduler0.staging), the period is increased accordingly:
*******************************************
Systemd::Timer[swh-scheduler-update-metrics.timer] =>
parameters =>
timer_content =>
@@ -3,6 +3,8 @@
_
[Timer]
-OnCalendar=daily
Unit=swh-scheduler-update-metrics.service
+OnCalendar=00/4:00
+RandomizedDelaySec=1h
+FixedRandomDelay=true
_
[Unit]
*******************************************
Systemd::Unit_file[swh-scheduler-update-metrics.timer] =>
parameters =>
content =>
@@ -3,6 +3,8 @@
_
[Timer]
-OnCalendar=daily
Unit=swh-scheduler-update-metrics.service
+OnCalendar=00/4:00
+RandomizedDelaySec=1h
+FixedRandomDelay=true
_
[Unit]
*******************************************
Migrated from D6160 (view on Phabricator)