Quickly and repeated adjusting system time

Aryeh Friedman aryeh.friedman at gmail.com
Mon Apr 30 09:36:44 UTC 2018

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

More information about the freebsd-questions mailing list