Typo in task_scheduler.rb fixed