Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I need to create a cron job which will execute a php file after every 5 sec on my Win7 machine.
I have Tomcat installed on my machine also apace server for php in uwamp server and i have knowledge of c,c++,java,javascript and vbscript. Also i have some experience in Visual Basic 2005.
Can you please tell me is there any way to execute a php file running on my local win7 machine using any given language that i knew.
Windows scheduler is not the solution for me, because i want my php file should run at every 5 sec or 1 sec. Please if you the way to do this let me know the method.

I'll be grateful for help or any suggestion.
Posted
Comments
Richard MacCutchan 13-Jan-14 5:04am    
I don't know how you 'execute' php code, as far as I know it is used in web pages and runs in a browser. For using cron you just need to look at the relevant man page.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900