On Feb 17, 5:29 am, "rahismail...@gmail.com" <rahismail...@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
I agree with Stuckle, use "cron (Linux/Unix) or scheduled task
(Windows). "
to schedule the the execution on php scripts.. you can set when it
should run.
how often.. etc.. but the fact is, you really need dedicated server..
and some vps offers
this service too.. you can setup cron by CPANEL or root(SSH), but i
dont know with plesk..
but if really dont have such root access on your server, there is
another way..
you only need a dedicated computer on your side.. 24/7 open.. only
need a desktop application
that manipulate your data remotely, is easy to remotely manipulate the
mysql (just allow your computer IP) you can make a desktop application
that can act also a php script, the same function, and process..
program it to repeat every 10 seconds.. (the problem is the speed of
the internet)
or a desktop application that call a hidden php script from the server
every 10 seconds..
each call, php perform such task..