View Full Version : WAMP: scheduled job in seconds

09-22-2009, 05:35 PM

Id need to run a specific PHP file in matter of seconds via the WAMP's
scheduled job interface (or another option if such comes up from ya folks).

The scheduled jobs tab only allows running on minute/hourly etc basis, but
Id need to run a script continously every 2-10 seconds depending what I
want to put up with it.


That site tells generally how to use the jobs, but it wont help me with
the idea of getting a script running every x seconds. So how do i do it? Thanks!

09-22-2009, 05:38 PM
get unix tools for windows, run it as cron job :)


failing that just install a *nix flavour (personally i prefer deb) and use a real cron and such rather than using a development environment to host your website on

09-22-2009, 05:45 PM
Didnt know of that, might you be able to point me into a right direction?
I cant seem to be able to get anything reasonable with googling :P

09-22-2009, 05:51 PM

That is something i belive, but i dont want/need to instal Pearl on my machine
so will be searching for another option..

09-22-2009, 06:28 PM
infact you don't even have to use unix tools.


windows scheduler to execute a batch file which does something like c:\wamp\bin\php\php.exe -c c:\wamp\www\file.php

should be able to work it out from there I think

10-12-2009, 12:40 PM
I havent tried that yet.. Will let you know when I get back to that problem =)