sivag August 5, 2005 at 05:09:10 Specs: solaris9, netra440
I have a need to change the system time and date for testing purposes (at times days/months backward). Would there be any issues with the system cron jobs if this is done over and over again in solaris9 ?? Appreciate the feedback.
1) As a root execute the following command. #zic /usr/share/lib/zoneinfo/asia 2)Edit /etc/TIMEZONE file and set the TZ variable to "Asia/Calcutta". 3. As root, execute the following: #TZ=Asia/Calcutta #export TZ
Hi Sivag, In term of base Unix operation this exercise will not impact much. But yes regarding the cron jobs its really a critical depending upon the kind of work which u r performing with the help of cron jobs. I will suggest u that if u are not aware what activities are performed by the cron jobs do not change system time. Their is an instance which i know. that the projects are feeding the data into the databse from the dump file and its happened that they changed the date and the cron job is again activated. Because they didnt put any checks before and after data pumping complete database is in mesh because of duplicate entries. Thsi is an just one simple example. Unix doesnt have any thing to do with reverting the dates. It will perform all the activities as usual condidering that what ever the time is feeded in the system is true.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.