How to visit automatically a website in the background after Ubuntu loads

Posted by Bakhtiyor on Ask Ubuntu See other posts from Ask Ubuntu or by Bakhtiyor
Published on 2011-02-28T01:30:57Z Indexed on 2011/02/28 7:32 UTC
Read the original article Hit count: 301

Filed under:
|
|

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?

© Ask Ubuntu or respective owner

Related posts about crontab

Related posts about scheduled