| Author |
Message |
eadtf
Beginner


Joined: Jul 21, 2004 Posts: 9
|
Posted: Sat Jul 24, 2004 4:10 am Post subject: CNN RSS Feed Does not generate XML file |
|
|
Well let me start by thanking you for a cool script....
I downloaded the CNN RSS Feed for PHP Nuke...
Installed it as per your directions, I could not get it to create the XML file, so....
I placed it iin the file:/var/www/html/cnn/myRSS.php, CHMOD 777, then I opened the php file with my browser, it created the XML files. SO I went back and redid the crontab entry and redid it again with this line: */30 * * * * PHP /var/www/html/cnn/myRSS.php, it excepts it, but it never runs or does not generate the xml files I nedd...
I also have the XML file being made in the same directory with the following line:
var $XML_DIRECTORY = "/var/www/html/cnn/";
which as I said beofre,it works when opened in the browser, just not with the crontab....
Any ideas?
I am running Mandrake 10.0, clean install, Apache, MySQL, PHP...
Thank You in Advance,
Michael |
|
| Back to top |
|
|
AdBot
|
| Post subject: CNN RSS Feed Does not generate XML file |
|
|
|
|
|
| Back to top |
|
 |
eadtf
Beginner


Joined: Jul 21, 2004 Posts: 9
|
Posted: Sat Jul 24, 2004 4:42 am Post subject: Re: CNN RSS Feed Does not generate XML file |
|
|
Using Webmin, I tried to run the cron job, I got this result:
/bin/sh: line 1: PHP: command not found
What does this mean? |
|
| Back to top |
|
|
eadtf
Beginner


Joined: Jul 21, 2004 Posts: 9
|
Posted: Sun Jul 25, 2004 5:04 am Post subject: Re: CNN RSS Feed Does not generate XML file |
|
|
| Well after further investigation it would appear that my Crontab is not capable of executing a PHP script, does anyone know how I can install, configure, activate or do whatever it takes to make a Cron job us a PHP? |
|
| Back to top |
|
|
huyrmy
Beginner


Joined: Jul 29, 2004 Posts: 1
|
Posted: Sun Aug 01, 2004 9:18 am Post subject: Re: CNN RSS Feed Does not generate XML file |
|
|
| he |
|
| Back to top |
|
|
Rapidex
Beginner


Joined: Dec 16, 2004 Posts: 1
|
Posted: Thu Dec 16, 2004 6:21 pm Post subject: Re: CNN RSS Feed Does not generate XML file |
|
|
 |
|
| Back to top |
|
|
|
|
|
|
|