Re: Linux script on Windows to chjange Date and Time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 29 Sep 2006, Paul Ward wrote:

We have a test environment using an oracle database on redhat. During
testing we need to wind the clock forward and backwards to ensure that
certain actions are carried out correctly on the dates. It is also
connected to several citrix servers which also have to have the same
time and dates else the applications fail to run.

Currently we are having to do each machine by hand but wish to find a
way to automate this action as it is very repetitive.

AAH!! That makes more sense. First thing that pops into my head is write a
script that runs the date command from one of the Red Hat machines. Then use
ssh to run the command on the rest of the Red Hat boxes.

On the windoze boxes use a login script that syncs the time using the net
time command. Even better install cygwin on the windoze boxes and use the
same script that you use to set the clocks on the Red Hat boxes to set the
clock on the windoze boxes.

If you do it right you should be able to run the script on one of the boxes
and have all of the clocks get set to the time you desire.

All of this is of course totally untested and just random thoughts coming
out of my brain.

HTH

Regards,

--
Tom Diehl		tdiehl@xxxxxxxxxxxx		Spamtrap address mtd123@xxxxxxxxxxxx

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux