Support running different tasks on each partition