Simple scheduler.