thanks for letting me know. --- "Atkinson, Robert" <ratkinson@xxxxxxxxxxxxx> wrote: > Sudhakar, > this is a much talked about topic > (http://groups.google.com/group/comp.lang.php/search?group=comp.lang.php&q=sc > hedule+php+job), and the simple answer is probably > not. > > > Having said that, there are ways of doing this. > > The first is a PHP class that checks if a job need > to be run every time a > user accesses your site. Because this requires > constant user access, and the > process runs in the same context as the user > request, it is really not > recommended. > > The second is to set up a Cron/Schedule job on the > web server itself, that > can call the php program and execute the job in it's > own process. This > requires you to have O/S level access to your > server, which you won't have on > a shared host. > > The third, and probably most likely for you, is to > set up a scheduled task on > your own PC, that calls the PHP program from your > remote server, causing it > to run. > > Beware - if the job takes too long to run, it may > time-out before it > completes, so you need to change the max-runtime > settings in the PHP program. > > Rob. > > -----Original Message----- > From: php-objects@xxxxxxxxxxxxxxx > [mailto:php-objects@xxxxxxxxxxxxxxx] On > Behalf Of Sudhakar > Sent: 15 November 2007 09:19 > To: php-objects@xxxxxxxxxxxxxxx > Subject: question about php > > is it possible to execute a php file at a specified > time everyday for > example 7 am on all days of the week. > > the application that i am working on presently is a > html page where i > need to manually type the number of online enquiries > made everyday. > > instead of me looking up the enquiries(which is > executed by a php > file) and then editing the html page and manually > typing the numbers > everyday i thought may be it is possible for php to > do this task > automatically. > > If this is possible, i can convert the present html > page into a php > file. > > please advice. > > *********************************************************************************** > Any opinions expressed in email are those of the > individual and not necessarily those of the company. > This email and any files transmitted with it are > confidential and solely for the use of the intended > recipient > or entity to whom they are addressed. It may contain > material protected by attorney-client privilege. If > you are not the intended recipient, or a person > responsible for delivering to the intended > recipient, be advised that you have received this > email in error and that any use is strictly > prohibited. > > Random House Group + 44 (0) 20 7840 8400 > http://www.randomhouse.co.uk > http://www.booksattransworld.co.uk > http://www.kidsatrandomhouse.co.uk > Generic email address - enquiries@xxxxxxxxxxxxxxxxx > > Name & Registered Office: > THE RANDOM HOUSE GROUP LIMITED > 20 VAUXHALL BRIDGE ROAD > LONDON > SW1V 2SA > Random House Group Ltd is registered in the United > Kingdom with company No. 00954009, VAT number > 102838980 > *********************************************************************************** > > ____________________________________________________________________________________ Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now. http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ