Re: Newbie:Backend scripts
| From: | DoStuff Postmaster | Date: | Fri, 06 Jul 2001 02:55:23 +0000 |
| Subject: | Re: Newbie:Backend scripts | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8139@lists.php.net to get a copy of this message | ||
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