http://qs1969.pair.com?node_id=182157


in reply to TimeSet.pl

Looks nice, but what is rdate?
It is not on my Cygwin machine or my Mandrake Linux machine...

Replies are listed 'Best First'.
Re: Re: TimeSet.pl
by PearlJamned (Initiate) on Jul 16, 2002 at 17:50 UTC
    $synchlists = "rdate -s"; --> its in @synchtimes = ($synchlists, $ping); {near bottom} --> for some reason I had to save it as a scalar value to get the system to run it like it should...at least I believe that was the problem, I had to jump through a few hoops to get this baby working...cc
      I believe hte question was not about the variable, but about the acctually program "rdate" that you execute.

      The poster points out that it doesn't exist on his Mandrake or Cygwin systems, ... I find it on Solaris machines, but not FreeBSD ... perhaps it is Solaris specific?

        I don't find it on any of my non-Solaris machines which include AIX, Digital Unix, and RH Linux.

        perl -e 'print reverse qw/o b n a e s/;'
        RH 7.x is what I use... i didn't think to check the origins of rdate... man rdate: rdate - connects to an RFC 868 time server over a TCP/IP network, printing the returned time and/or setting the system clock.