Immediately reflect sudden changes in system time

Mikael Karlsson karlsson.rm@REDACTED
Fri Feb 11 13:20:40 CET 2011


Hi,

according to the documentation erlang:now/0 will not immediately
reflect sudden changes in the system time, but slowly adjust towards
the new system time. (one percent adjustments), unless the Erlang VM
is started with the +c option.
Is there a way to to make an immediate change of erlang:now/0 without
restarting the VM even if it has been started without the +c flag?
Some undocumented erlang function call or sending SIGHUP (kill -1) to
the beam process...?

Mikael


More information about the erlang-questions mailing list