lynx and crontab - PHP
This is a discussion on lynx and crontab - PHP ; my isp lets me control crontab so i've been trying to
run a php script every 30 mins.
the command is like this:
lynx - dump http://www.mysite.com/test.php
which gives the error
lynx: Start file could not be found or is ...
-
lynx and crontab
my isp lets me control crontab so i've been trying to
run a php script every 30 mins.
the command is like this:
lynx - dump http://www.mysite.com/test.php
which gives the error
lynx: Start file could not be found or is not text/html or text/plain
what do i telll my isp to do to get lynx to supprt .php files?
(i get a better response from them if i tell them exactly what to do ;-) )
tia
adrian
-
Re: [PHP] lynx and crontab
Info: Lynx has nothing to do with supporting or not supporting PHP. PHP is
not a client side language, it is a server side language, so the browser
that you use does not even know or need to know that it is running PHP.
Solutions (hopefully): Take out the space between the "-" and the word
"dump". Your command should be:
lynx -dump http://www.mysite.com/test.php
Steve
At 01:11 PM 10/15/2002 +0100, you wrote:
>my isp lets me control crontab so i've been trying to
>run a php script every 30 mins.
>
>the command is like this:
>lynx - dump http://www.mysite.com/test.php
>
>which gives the error
>
>lynx: Start file could not be found or is not text/html or text/plain
>
>what do i telll my isp to do to get lynx to supprt .php files?
>(i get a better response from them if i tell them exactly what to do ;-) )
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
ow3
-
Re: [PHP] lynx and crontab
shouldn't be it lynx -dump ... ?
adrian murphy wrote:
>my isp lets me control crontab so i've been trying to
>run a php script every 30 mins.
>
>the command is like this:
>lynx - dump http://www.mysite.com/test.php
>
>which gives the error
>
>lynx: Start file could not be found or is not text/html or text/plain
>
>what do i telll my isp to do to get lynx to supprt .php files?
>(i get a better response from them if i tell them exactly what to do ;-) )
>
>tia
>adrian
>
>
>
-
Re: lynx and crontab
The syntax I use for this purpose is either:
lynx -source "URL"
or
wget -q -O - "URL"
depending on whether lynx or wget are installed.
HTH
Bogdan
Adrian Murphy wrote:
> my isp lets me control crontab so i've been trying to
> run a php script every 30 mins.
>
> the command is like this:
> lynx - dump http://www.mysite.com/test.php
>
> which gives the error
>
> lynx: Start file could not be found or is not text/html or text/plain
>
> what do i telll my isp to do to get lynx to supprt .php files?
> (i get a better response from them if i tell them exactly what to do ;-) )
>
> tia
> adrian
>
-
Re: [PHP] lynx and crontab
I have a tutorial for using lynx to monitor a firewall.
http://frontiertech.ca/tutorial_web_page_monitor.php
************************************************************************
www.frontiertech.ca
Free Open Source Software for Data Collection and Data Mining.
************************************************************************
On Tue, 15 Oct 2002, adrian murphy wrote:
> my isp lets me control crontab so i've been trying to
> run a php script every 30 mins.
>
> the command is like this:
> lynx - dump http://www.mysite.com/test.php
>
> which gives the error
>
> lynx: Start file could not be found or is not text/html or text/plain
>
> what do i telll my isp to do to get lynx to supprt .php files?
> (i get a better response from them if i tell them exactly what to do ;-) )
>
> tia
> adrian
>