시스템 타이머가 작동하지 않는 이유는 무엇입니까? (유효 = ~까지)

시스템 타이머가 작동하지 않는 이유는 무엇입니까? (유효 = ~까지)

매일 도커 컨테이너를 다시 시작하도록 되어 있는 systemd-timer를 만들었지만 결코 그렇지 않습니다. Docker 컨테이너 가동 시간 > 1일(컨테이너가 다시 시작되지 않음을 나타냄)

/lib/systemd/system/rocketchat-restart.timer

[Unit]
Description=timer to restart rocketchat docker container

[Timer]
OnCalendar=*-*-* 04:45:00
Unit=rocketchat-restart.service
Persistent=true

[Install]
WantedBy=multi-user.target

/lib/systemd/system/rocketchat-restart.service

[Unit]
Description=service to restart rocketchat docker container

[Service]
Type=oneshot
ExecStart=/usr/bin/docker container restart rocketchat

systemctl statusRocketchat-restart.timer

* rocketchat-restart.timer - timer to restart rocketchat docker container
     Loaded: loaded (/lib/systemd/system/rocketchat-restart.timer; enabled; preset: enabled)
     Active: active (waiting) since Fri 2023-06-30 10:57:25 UTC; 1 week 3 days ago
      Until: Fri 2023-06-30 10:57:25 UTC; 1 week 3 days ago
    Trigger: Wed 2023-07-12 04:45:00 UTC; 20h left
   Triggers: * rocketchat-restart.service

Jun 30 10:57:25 docker systemd[1]: Started rocketchat-restart.timer - timer to restart rocketchat docker container.

systemctl statusRocketchat-restart.service

* rocketchat-restart.service - service to restart rocketchat docker container
     Loaded: loaded (/lib/systemd/system/rocketchat-restart.service; static)
     Active: inactive (dead) since Wed 2023-07-12 04:45:12 UTC; 6h ago
TriggeredBy: * rocketchat-restart.timer
    Process: 1794734 ExecStart=/usr/bin/docker container restart rocketchat (code=exited, status=0/SUC>
   Main PID: 1794734 (code=exited, status=0/SUCCESS)
        CPU: 41ms

Jul 12 04:45:01 docker systemd[1]: Starting rocketchat-restart.service - service to restart rocketchat>
Jul 12 04:45:12 docker docker[1794734]: rocketchat
Jul 12 04:45:12 docker systemd[1]: rocketchat-restart.service: Deactivated successfully.
Jul 12 04:45:12 docker systemd[1]: Finished rocketchat-restart.service - service to restart rocketchat>

systemctl 목록 타이머 grep Rocketchat-restart.timer

NEXT                        LEFT          LAST                        PASSED       UNIT                         ACTIVAT
Wed 2023-07-12 04:45:00 UTC 20h left      Tue 2023-07-11 04:45:01 UTC 3h 49min ago rocketchat-restart.timer     rocketchat-restart.service

내 서비스에 문제가 있나요?

왜 표시되나요?긍정적인:그리고까지:같은 날짜?

무엇인가요까지:의미는?

여기에 문제가 있나요?

관련 정보