correct - you can get nncron from
http://www.nncron.ru/ which will run on windows as a service.
install this on the server that is running your webserver and set up a job to execute every period
#* * * * *
#| | | | |
#| | | | +----- Day of the Week (range: 1-7, where 1 is Monday)
#| | | +------- Month of the Year (range: 1-12)
#| | +--------- Day of the Month (range: 1-31)
#| +----------- Hour (range: 0-23)
#+------------- Minute (range: 0-59)
# PROCESS CUSTOM PHP SCRIPT
# Every 20 minutes
*/20 * * * * c:\php\php.exe -f d:\path\to\webroot\script.
php
Then your php script will do all of the work.
- check for files in the directory
- connect to db
- process each file
- write data to database
- delete each file after processing
- send email notification with summary