Minor tweak of "cron" algorithm.