Help - Search - Members - Calendar
Full Version: php cron jobs
Movable Type Community Forum > Additional Resources > Tips and Tricks
scruffy
I'm just tying to create a xml file via a php cron job. But the output of my cron job is being created as a gzip file, not an ascii file.

Here is my cron job...

CODE
lynx --source "http://www.domian.com/grabnews.php?q=nfl&num=15" > /path to file/news.xml


The "news.xml" file is being created as a gzip type file.

When I rebuild my blog my "news.xml" can't be read.

thanks again for the help!!! tongue.gif
scruffy
*more info*

I'm using the gnews2rss.php code, but I can't seem to get it to create a readable file.

ohmy.gif
scruffy
I'm pretty new to this rss/xml stuff.

Could the format of my file have anything to do with the "parser"???

Here is a link to the code.

The CODE.

thanks,
Eric

wink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.