You can run the PHP code from the command line. for example, if your PHP folder is in PATH:
php.exe C:\mycode\myfile.php
You can then set this as a scheduled task on Windows. Side notes: keep in mind that some things do not exist (and something exists in their place), for example. Apache or IIS, as well as the full range of HTTP materials.
Amadiere
source share