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:
Code:
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.More Information:
- One cron job which syncing files to nfs mounted on container, creates after finishing another cron proccess(/usr/sbin/cron), and
- 15 posts - 3 authors - Last post: Aug 15, 2009The problem with the double quotes is also the reason why the crontab
- I can run the cron job manually and then it works fine and creates the stats, but it doesn't seem to get carried out by cron, the stats always remain at that date I last ran it
- There are very few applications that need cron jobs to be run exactly once
- Always let ttytype figure out the terminal type, and always bypass ttytype (and tabs, tset, stty, etc) if there is no real terminal (ie, a batch or cron job)
- The main problem with cron jobs is that if they aren't
- It's too weird for me, I'm not able to solve this problem
More:
Bookmarks