it will be easier to use nix anyway
what you can do is setup the script how you want, then use javascript to autosubmit the form when the page loads
then you will need to use cron to run the page, you can set it to run anywhere from once a year to once every five minutes
then you use wget or lynx(need to install lynx) to run the php page
do a search for "run php page with cron wget" and there a few tuts out there to help you