How to visit automatically a website in the background after Ubuntu loads
- by Bakhtiyor
I wanted to know how to automatically visit a website in the background when Ubuntu loads. As far as I know w3m is for visiting web site from the console. That is why I am writing following command in the crontab -e.
@reboot w3m http://example.com/ > test_file
The reason for writing content of the web site into a test_file is just to know whether this command has been executed or no. Unfortunately it is not executing every time Ubuntu loads. But next command which comes after it and looks like this: @reboot date >> reboot_file is being executed every time.
What is wrong with my command? Because when I execute it in the console it output content of the example.com into test_file.
Is there any other options to do that?