![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to upload a file into 2 servers at the same time. | kcpriya | UNIX for Dummies Questions & Answers | 7 | 04-10-2008 12:20 AM |
| script to change passwords for the same user on multiple servers | stolz | Shell Programming and Scripting | 6 | 12-18-2007 09:08 AM |
| change time | anhtt | SUN Solaris | 3 | 12-17-2007 07:13 AM |
| change the time in AIX | rocker40 | UNIX for Dummies Questions & Answers | 1 | 03-15-2007 07:39 AM |
| How To change time? | Sirius | Linux | 4 | 12-15-2005 11:37 AM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
How to change time on servers
Hi all
We are currently using AIX 5.3, we reuquire to change the time according to the daylight saving scenario. We are using the internal clock and are not synced with ntp server. Can any one please tell me how to do that without effecting the processes running on the servers? |
| Forum Sponsor | ||
|
|
|
|||
|
That depends on your application(s). E.g. databases tend to crash when an operation finishes before it started. That would happen if your server is running ahead of time and you set it back during a DB operation is running. If your server's time is behind real time you may simply
# smitty date for setting date and time and # smitty chtz for setting TZ If you are unsure change both settings only with your apps stopped. |
|
|||
|
daylight savings time DOES NOT change the clock running in UTC, which is how the internal clock keeps time. It just changes how the values provided by the clock get translated into human readable form.
This affects log timestamps, etc. It also means that cron entries may run twice - this happens going from DST to standard time. Or may run not at all - this happens going to DST from standard time. So for example, if you want to change to DST, and you do it on a Sunday at 2:00am you can check for problem cron entries maybe this way: Code:
crontab -l | perl -lane 'print "@F" if $F[1] =~ m/2/' |
|||
| Google UNIX.COM |