Internet Advertising - McDonalds - Free Advertising - Mortgage - Credit Cards UK

PDA

View Full Version : Weird cron job problem


wholesalechecklist
Jun 8th 2007, 10:59 pm
So I have a cron job to run a rss2html php script to create an output file of static html.

It used to work, but it suddenly stopped and I dont know why. I use hostmonster, for the record.

Anyway, that it the basic background information.

The cron job code it:

usr/bin/php -f /home/swaythev/public_html/missionenvironment/news.php > /home/swaythev/public_html/missionenvironment/news.html

I just realized that the cron job DOES create the output file, but it is completely empty. Anyone know why? My host is absolutely no help.

DeViAnThans3
Jun 10th 2007, 12:24 am
Did the PHP version changed?
Is the RSS feed you use maybe got down? You should try to visit the news.php file via webbrowser to see whether or not it gives an error or blank page?
Could you PM me the file contents?