In the process of learning/understanding Linux (difficult but enjoying it). I have written a very short shell script that uses wget to pull an index.html file from a website.
#!/bin/bash #Script to wget website mywebsite and put it in /home/pi/bin index=$(wget www.mywebsite.com)
And this works when i enter the command wget_test into command line. It outputs a .html file into /home/pi/bin.
I have started trying to do this via cron so i can do it at a specific time. I entered the following by using crontab -e
23 13 * * * /home/pi/bin/wget_test
In this example I wanted the script to run at 13.23 and to output a .html file to /home/pi/bin but nothing is happening.