date/time jail?

From: Jim VandeVegt (vandevegt@yahoo.com)
Date: Wed Dec 06 2006 - 13:52:01 EST


Fellow managers,

Is there such a thing as a date/time jail in UNIX?

Is there a way to run a process or group of processes such that when the process requests the system date it gets a "cooked" number instead of the real system time.

I'm currently struggling with testing and training requirements that specify a future date and in some cases retaining a specific date for a long period of time. (A lot of the data involved are time-sensitive.)

The environment I need to alter is a java virtual machine. If there's a way to do it on the Java command line and affect everything running in that JVM that would be cool too.

I've already requested the development team implement a configurable time stamp method that utilizes an offset I could set on the server. They say they thought of that too but had no way to guarantee that third-party components would use the method. So I'm currently stuck changing and reseting the system date manually.

Thanks for any help and I'll summarize any responses.

 
---------------------------------
Need a quick answer? Get one in minutes from people who know. Ask your question on Yahoo! Answers.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:18 EDT