I am trying to run a script once the server reboots. So, how can I change it. My script needs only one file to open and it opens in terminal. I read something about changing configurations or cronjobs, but how exactly to change it ? I want to do that because if I close the terminal obvious the script stops, so if I make it start on reboot it will work 24/7 I guess. What I do now is, open openssh, connect to my server, run the script, but when I close the session the script stops working, so I'm trying to make it permanently. Thanks!
Version: Ubuntu 10.04 LTS.