May 26, 2018

Abstract implementation of the cron(8) scheduling algorithm

AlgorithmCron - abstract implementation of the cron8 scheduling algorithm

Objects in this class implement a time scheduling algorithm such as used by cron8. Objects are stateless once constructed, and represent a single schedule as defined by a crontab5 entry. The object implements a method next_time which returns an epoch timestamp value to indicate the next time included in the crontab schedule.