Linux script on Windows to chjange Date and Time

Brad Bonkoski bbonkoski at mediaguide.com
Fri Sep 29 13:26:35 UTC 2006



Paul Ward wrote:
> I thought of that but apparently we need the date chagne to take
> effect almost immediatly, well within 30 mins.
>
> If we set the date of our test network fwd 1 year the ntp would take
> several hours or probably more to catch up.
>
>
It would take a LOT longer then that to catch up ;-)
there is also a ntpdate utility on Linux at least to do an automatic sync.
Not sure on the cygwin, but it may be worth a shot...then you could 
cron/batch an ntpdate like command to run every X minutes.

>
> On 29/09/06, Alessandro Brezzi <alessandro.brezzi at gmail.com> wrote:
>> Hi Paul,
>>
>> 2006/9/29, Paul Ward <pnward at googlemail.com>:
>> > Hi All,
>> >
>> > I need to find a way of syncing the date on 4 linux pcs and 2 windows
>> > pc's using eiter a linux script or windows :(
>> > I would rather not use a samba share and get dos to run a if exist 
>> statment.
>> >
>> > Does anyone have any suggestions?
>> >
>> > Anyone know if cygwin allows a Linux box to ssh using a rsa key and
>> > run commands?
>> >
>> > ????
>> My be the simple and faster way is to elect one or two of your Linux
>> box to run ntpd and to sync time from the internet. Then in the M$Win
>> box uset the NET TIME command to point to the Linux box.
>> HTH
>>
>> Alessandro Brezzi
>>
>> -- 
>> fedora-list mailing list
>> fedora-list at redhat.com
>> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>>
>




More information about the fedora-list mailing list