Re: Newbie:Backend scripts

From: Date: Fri, 06 Jul 2001 12:30:45 +0000
Subject: Re: Newbie:Backend scripts
References: 1 2 3  Groups: php.windows 
Request: Send a blank email to php-windows+get-8148@lists.php.net to get a copy of this message
Another option is the "at" command I don't remember the syntax but from a command window just type in at help or at /? or at ? One of those should get you the help listing which will tell you the syntax, on windows the "at command" is the same thing as Cron in Unix DoStuff Postmaster wrote:
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.
-- "There is a principle which is a bar against all information, which is proof against all arguments and which cannot fail to keep a man in everlasting ignorance - that principle is contempt prior to investigation." - Herbert Spencer Michael Kelley mkelley@nmsu.edu Programmer/Systems Analyst I New Mexico State University Information and Communication Technologies Work # (505)-646-1374 P.O. Box 30001 MSC: 3AT Las Cruces, NM 88003

« previous php.windows (#8148) next »