Hi,
I tried to get date and time from a remote node via qnet in the
following way:
on -f node2 date “+%d %m %y %H %M %S” | date
This did not work, any suggestion to get it?
Thanks for ideas,
Werner
Hi,
I tried to get date and time from a remote node via qnet in the
following way:
on -f node2 date “+%d %m %y %H %M %S” | date
This did not work, any suggestion to get it?
Thanks for ideas,
Werner
Yes, leave off the nonsensical “| date” part at the end…
dB
“WB” <wbx136@web.de> wrote in message news:djir5v$gos$1@inn.qnx.com…
Hi,
I tried to get date and time from a remote node via qnet in the following
way:on -f node2 date “+%d %m %y %H %M %S” | date
This did not work, any suggestion to get it?
Thanks for ideas,
Werner
Sorry, what I meant was: to get time and date from remote node and set
this value on the local node.
Werner
David Bacon schrieb:
Yes, leave off the nonsensical “| date” part at the end…
dB
“WB” <> wbx136@web.de> > wrote in message news:djir5v$gos$> 1@inn.qnx.com> …
Hi,
I tried to get date and time from a remote node via qnet in the following
way:on -f node2 date “+%d %m %y %H %M %S” | date
This did not work, any suggestion to get it?
Thanks for ideas,
Werner
WB <wbx136@web.de> wrote:
Sorry, what I meant was: to get time and date from remote node and set
this value on the local node.
Werner
I don’t think date reads from standard input. How about this:
on -f node2 date "+%d %m %y %H %M %S"
Steve Reid wrote:
WB <> wbx136@web.de> > wrote:
Sorry, what I meant was: to get time and date from remote node and set
this value on the local node.
Werner
I don’t think date reads from standard input. How about this:date
on -f node2 date "+%d %m %y %H %M %S"
How about
rtc net node2
And if you want to keep the clocks closely synchronized
all the time, ntpd is highly recommended.
dB
“Wojtek Lerch” <Wojtek_L@yahoo.ca> wrote in message
news:djj2lh$m1o$1@inn.qnx.com…
Steve Reid wrote:
WB <> wbx136@web.de> > wrote:Sorry, what I meant was: to get time and date from remote node and set
this value on the local node.
Werner
I don’t think date reads from standard input. How about this:date
on -f node2 date "+%d %m %y %H %M %S"
How about
rtc net node2
Hi,
thanks for your ideas.
‘rtc net node2’ works good for me.
Werner
David Bacon schrieb:
And if you want to keep the clocks closely synchronized
all the time, ntpd is highly recommended.dB
“Wojtek Lerch” <> Wojtek_L@yahoo.ca> > wrote in message
news:djj2lh$m1o$> 1@inn.qnx.com> …Steve Reid wrote:
WB <> wbx136@web.de> > wrote:
Sorry, what I meant was: to get time and date from remote node and set
this value on the local node.
Werner
I don’t think date reads from standard input. How about this:date
on -f node2 date "+%d %m %y %H %M %S"
How about
rtc net node2