Computing.Net > Forums > Solaris > change of date in solaris

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

change of date in solaris

Reply to Message Icon

Name: sivag
Date: August 5, 2005 at 05:09:10 Pacific
OS: solaris9
CPU/Ram: netra440
Comment:

Hi,

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.

siva



Sponsored Link
Ads by Google

Response Number 1
Name: vns_2k
Date: August 5, 2005 at 07:11:13 Pacific
Reply:

Just follow the steps :

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

-Madan Vemula

test


0

Response Number 2
Name: Sherwani
Date: September 6, 2005 at 07:23:52 Pacific
Reply:

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.

Mukesh Kesharwani
http://www.keekar.com


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: change of date in solaris

Check the speed of disk in solaris www.computing.net/answers/solaris/check-the-speed-of-disk-in-solaris/1655.html

change of timezone in date command www.computing.net/answers/solaris/change-of-timezone-in-date-command/4775.html

date diffrence in solaris no %s www.computing.net/answers/solaris/date-diffrence-in-solaris-no-s/4500.html