Page 1 of 1
[S] Can you run a PHP script without launching the browser?
Posted: Wed Aug 10, 2005 7:57 am
by bradsteele
Trying to run a PHP script without launching the browser...is this possible?
Thanks,
Brad
Posted: Wed Aug 10, 2005 8:04 am
by feyd
yes.
How???
Posted: Wed Aug 10, 2005 8:19 am
by bradsteele
How???
Thanks,
Brad
Posted: Wed Aug 10, 2005 8:21 am
by shiznatix
search this forum for cron jobs
Posted: Wed Aug 10, 2005 8:22 am
by feyd
where are you trying to run it?
On your local machine, you can use the PHP-CLI:
Code: Select all
/feyd@home/>php -v
PHP 5.0.4 (cli) (built: Mar 31 2005 02:45:48)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies
On the server, you can do it through cron or through other php scripts.. the variants for this are pretty large.
Posted: Wed Aug 10, 2005 8:52 am
by bradsteele
I am running on a WINDOWS 2003 server, and to my knowledge Task scheduler won't let me run a script every 15 minutes.....any suggestions.....yes its running on the server.
Posted: Wed Aug 10, 2005 9:28 am
by m3mn0n
There wasn't a need to make a new thread.
viewtopic.php?t=36722