You could do it with a SQL Agent job.
However, there is an easier way to do it.
NPM includes an "Unmanage schedule" utility. This wizard based util creates an object that you run as a scheduled task on the NPM server and it accomplishes what you're seeking.