Send the code to the local computer and set up a scheduled task using Windows Task Scheduler

Yes, you can see options here