The other way is to write a console app, and then book a job in the windows scheduler to fire the console app at the appropriate date and time.
So do your research first, figure out if your running on a server core with no GUI, or Server core with minimum GUI or full GUI. If your not running a GUI with a shell to execute the console app, then you need a windows service, which is harder to write.
I just used the above tutorial to write a windows service to do the same thing you want or need to do, and found it more difficult than the article expresses. But it's almost done and so far so good.
C#: Building a Useful, Extensible .NET Console Application Template for Development and Testing[
^]