• You can put it in a Sql Server Agent job. Create a new job, go to steps, and pick ActiveX script from the dropdown.