I am running LAMP system on ubuntu 14.04. I have an rss feed using php which runs every 1 hour and MySQL stores data. My php file used to run perfectly using php in cron some 15 days but its not working anymore
My cron is as below
0 * * * * /usr/bin/php /var/www/html/rss.php >/dev/null
My php script is working perfectly from browser(firefox/chrome)
When I run the php script using wget in cron it works fine
0 * * * * wget http://www.mywebsite.com/rss.php >/dev/null