Remove repository on nexus 2

hi, i am using nexus version 2 and I wanted to delete my repositories, first I defined a target and then I defined a schedule for it in ui. As follows:
repository type:maven2
{scheduled tasks}
task type:remove release from repository
Number to keep:0
Recurrence :manual

But after running it, my repositories were not cleaned, please help me.