rahismailbox@gmail.com wrote:
> I need to run a script in every 10 seconds in background of the site
> of 10-15 php pages.
> So how do i activate that script?
> Is there a code to be embedded in every php page so that the script
> got run after every 10 seconds.
>
> I need not to monitor that script.
> This script will make some comparisions and then make changes in the
> database.
> Please reply as this is very neccesary for completion of my project.
>
> Regards
> Rahi Jain
>
cron (Linux/Unix) or scheduled task (Windows).
But you aren't going to get it every 10 seconds. Both only go down to
one minute.
You can also have the script sleep() or other ways.
But if you have to do this, I have a serious concern about your entire
site design. And you had better plan to rent a dedicated server - there
isn't a shared or vps hosting company I know of which will allow you to
use this many resources on their servers.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================