30.06.2017, 12:00
Unfortunately, I have no sync with NTP Server.
Is it possible to change the system clock time from a group address?
Is it possible to change the system clock time from a group address?
Synchronize the system clock time
|
30.06.2017, 12:00
Unfortunately, I have no sync with NTP Server.
Is it possible to change the system clock time from a group address?
30.06.2017, 12:22
See this example:
http://openrb.com/example-change-timedat...pt-on-lm2/
05.07.2017, 12:54
(30.06.2017, 12:22)admin Wrote: See this example: I have tried it with this example but there is a problem. If the group address sends the time, this is also accepted by the system. But the clock does not continue in the system and stops.
05.07.2017, 13:16
What do you mean that the clock stops?
07.07.2017, 09:16
Sorry.
I have found my error. This is not a resident script!! This is a Event-Based script date = grp.getvalue('date_object') time = grp.getvalue('time_object') cmd = string.format("date -s '%d-%d-%d %d:%d:%d'", date.year, date.month, date.day, time.hour, time.minute, time.second) os.execute(cmd) |
« Next Oldest | Next Newest »
|