wd 64bit linux autostart

Hi, I am new to linux and am trying to setup WD on a linux box. I have it running, but I would like it to run when I boot. Can anyone tell me how to do this?

The easiest way is using Cron.

:$ crontab -e -u root

And then add a line:

@reboot /home/user/consolewd/consolewd

no joy on that one.

BTW. I am using the GUI version (if that makes a difference)

you would need to change to the name of that program instead

Sorry, Not working.

I’m a linux newbie but if I run weatherdisplay like this
sudo ./weatherdisplay
then password
should I have to enter that in the cron some how?

what password are you refering to?

logon password.
everytime I use sudo it asks me to enter a password

that will be a way to get around that (google is your friend)

I have this partly solved.
It starts but will not read the data from station. I need to start it with sudo to get it to start logging data

there should be a way to get it to start as sudo auto
maybe via a batch script

for now I am just to new to linux to try something like that.
I will have to learn more before I try

google has lots of linux stuff
as people ask questions
if you pitch the question right to google you should get an answer :slight_smile:

Yes, there are hundreds of articles on this. I just have to find the one that works.

e.g
https://askubuntu.com/questions/197536/running-a-startup-program-in-terminal-as-sudo