Simple scheduler for periodic jobs