[][src]Module lxcrond::ticker

Functions

minute_sync

delay processing of the current thread until we are pretty much on the minute change over. This means when the main thread loops its starts at a minute boundary e.g. 23:23:00 and not 23:23:01 Idea is that cron jobs set for 0 3 * * * start at 03:00:00 and not much later.

sleep_sync

Sleep for ~60 seconds, correcting for time jumps or slow code. This tends to return a time .0001 - .0003 seconds after the minute on a fast laptop, I dont think this is because the code is slow but because the timer resolutions are not nanosecond specific.