Yes, on a Unix machine you can run a cron job (not sure how to do that 
since I don't use Unix, maybe someone can fill him in) or on windows 
2000 you can insert a new task into the scheduler and just have it link 
to Internet Explorer and then the web page like this:
   C:\Program Files\Internet Explorer\iexplore.exe 
http://www.yoursite.com/script.php

Ruslan Ohitin wrote:

>Hi,
>
>Try to use a scheduler to run command
>    php.exe -q x:\path\to\your\script.php
>every 2 hours. (-q - do not output HTTP headers)
>
>
>P> Hi,
>
>P> I am using php4 with mssql backend loaded on windows 2000.
>
>P> Here is my problem:
>
>P> I want to update my database contents every 2 hours with some sql
>P> statements.
>P> Is there anyway I can write scripts in php and run them every 2 hours?
>P> Anyother solutions are most welcome.
>
>P> Thank You,
>P> Sagil.
>

-- 
DoStuff Online Classrooms
http://www.dostuff.net




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to