The scheduled Task (Schedule Task) is a program similar to cron on the Windows platform, and of course the functionality is much worse.
Manual operation is impractical because you need to run a PHP program every hour.
First in the CMD test, for example: C:/appserv/php5/php.exe "c:/appserv/www/temp2.php"
One thing to note is that if that PHP references another page, it needs to provide an absolute path, at least as far as my test results are concerned.
Set up Scheduled tasks, you can take advantage of the Add Schedule Task's wizard. Finally, you need to set the Until:time in the advanced settings to 1 minutes earlier than your start time.
Because I tested it on my laptop, I used a battery to remove the power management from the setting.
Specific reference:
Http://manual.b2evolution.net/Set_up_a_Windows_Scheduled_Task
http://sharpertutorials.com/windows-task-scheduler/