Commit 1a7cab44 authored by nanahira's avatar nanahira

time every minute

parent e12bb10b
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
path: /etc/crontab path: /etc/crontab
marker: '# {mark} MyCard NextGen Router block for ntpdate' marker: '# {mark} MyCard NextGen Router block for ntpdate'
block: | block: |
40 */2 * * * root /usr/sbin/ntpdate -u {{ntp_server}} ; /usr/sbin/hwclock -w * * * * * root /usr/sbin/ntpdate -u {{ntp_server}} ; /usr/sbin/hwclock -w
handlers: handlers:
- name: restart_dnsmasq - name: restart_dnsmasq
docker_compose: docker_compose:
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
path: /etc/crontab path: /etc/crontab
marker: '# {mark} MyCard NextGen Router block for ntpdate' marker: '# {mark} MyCard NextGen Router block for ntpdate'
block: | block: |
40 */2 * * * root /usr/sbin/ntpdate -u {{ntp_server}} ; /usr/sbin/hwclock -w * * * * * root /usr/sbin/ntpdate -u {{ntp_server}} ; /usr/sbin/hwclock -w
handlers: handlers:
- name: restart_pxe_nginx - name: restart_pxe_nginx
docker_compose: docker_compose:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment