Update task_scheduler.rb