You can run PHP code from the command line. e.g., if your PHP folder is in PATH:
php.exe C:mycodemyfile.php
You can then set this up as a scheduled task in windows.
Side note: be aware that certain things don't exist (and something exist in their place), e.g. Apache or IIS objects, as well as the full range of HTTP stuff.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…