Added task schedulign from endpoint