I have a cron job that I want to grab a webpage and save it to a file. I've got it set up like this:
*/30 * * * * wget http://www.mySite.com/test.php > /home/myOtherSite/public_html/test.txt
I expected that the html source of test.php would be written to test.txt... but that's not happening.
test.txt is having it's last updated time updated every 30 minutes, but nothing is being written to it. Permissions are set to 777.
Am I doing this wrong?
echo 'test, test, test';
This is on a linux CentOS 6.