...

View Full Version : WAMP: scheduled job in seconds



SystemJay
09-22-2009, 05:35 PM
Hi!

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.

http://www.stumbleupon.com/s/#1fBwVG/drupal.org/node/31506

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!

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

simples

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

SystemJay
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

SystemJay
09-22-2009, 05:51 PM
http://cronw.sourceforge.net/#cvs_section

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

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

http://www.iopus.com/guides/winscheduler.htm

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

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum