Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2018 05:36:42 -0400
From:      Aryeh Friedman <aryeh.friedman@gmail.com>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Quickly and repeated adjusting system time
Message-ID:  <CAGBxaXm+_K_ViM1cQL30RutEyr-iOgshmeqnz1vZ+7Ly5zYypQ@mail.gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
I have a program that fires events of at specific periodic (time of day,
day of month, etc.) events and I need to test it's ability to correctly
fire the events at the correct times.  Thus I need a quick (and hopefully
programmatic) way to set the system clock to an arbitary time (no need to
mess with timezones).   I know I can use date(1) but my gut says there has
to be better way... Ideas?

-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAGBxaXm+_K_ViM1cQL30RutEyr-iOgshmeqnz1vZ+7Ly5zYypQ>