There is a separate service called SQL Agent that is created for this specific purpose: scheduling tasks related to SQL Server.
This is a Windows service that is initially disabled, so you need to enable it. Otherwise, all this is very simple: Management Studio has a nice interface for managing the Agent.
Anton Gogolev
source share