Hello, I apologize for mistakes in writing in advance. I wrote a program in php that chechs mail, parses the mail and writes required content into database. Now I don't know how to make it work, so that the program would start every 10seconds? When I worked with .exe I knew how, but now with php I don't. I am new to php so I apologize if the question is stupid and the answer is simple, but I don't know it. Please help.
Sorry but this doesn't help because I have WIN 2003 SERV not linux. I know I can use task schedule but don't know how to call php script. Even better solution would be to use MTA = Mail transfer agent and call script only when mail comes, but these are all ideas which I can't do.
You can try pseudo-cron jobs. Read about them here : http://www.bitfolge.de/pseudocron-en.html Although they aren't the most elegant solution in the world.
You can also look at CRONw ( http://cronw.sourceforge.net/ ) or SINC ( http://sinc.sourceforge.net/ ) which are both 'cron-like' applications for Windows...
Create a bat file that executes your PHP file then schedule the bat file to run. You don't need any additional software.