add support for period in scheduler tasks