define_schedule_task passing