RE: [PHP] Why lynx don't work with cron?

From: Date: Wed, 22 Aug 2001 05:40:56 +0000
Subject: RE: [PHP] Why lynx don't work with cron?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-63854@lists.php.net to get a copy of this message
you are talking about two completely different applications(as mentioned in post)... one is a cron job to do something (unspecified) which requires executable PHP (a la CGI) to point the file to the other (recent post) discusses using lynx to parse a site which is IMO a bad move in either case... better off opening a socket to the site you are wanting to parse, dumping the contents directly into a variable, and dealing with your content from there. Dave >I was waiting for someone to answer this question but it hasn't happened yet. > I was using this a couple years ago to get a weather page from http after >the ftp site with the raw text disappeared. Rest assured this has NOTHING to >do with php and everything to do with lynx. >On Tuesday 21 August 2001 05:50 am, you wrote: >> Hi, I'm trying the command "lynx -dump -nolog >> http://localhost/script.php > /dev/null" on crontab >> but I (httpd) receive an e-mail from "Cron Daemon" >> saying that: >> "Your terminal lacks the ability to clear the screen >> or position the cursor." >> >> what should I do run my script with cron?

« previous php.general (#63854) next »