"""
-Clock synchronizer
+Clock synchronizer
"""
import logging
import contextlib
'PATH=/usr/bin:/usr/sbin',
'ntpdc', '-p',
],
- logger=log.getChild(rem.name),
)
try:
'PATH=/usr/bin:/usr/sbin',
'ntpdc', '-p',
],
- logger=log.getChild(rem.name),
)
def check(ctx, config):
"""
Run ntpdc at the start and the end of the task.
-
+
:param ctx: Context
:param config: Configuration
"""
'PATH=/usr/bin:/usr/sbin',
'ntpdc', '-p',
],
- logger=log.getChild(rem.name),
)
try:
'PATH=/usr/bin:/usr/sbin',
'ntpdc', '-p',
],
- logger=log.getChild(rem.name),
)