so that it will launch it at startup, even if there is no GUI installed (useful for Ubuntu servers).
~$crontab -e
Select the text editor (I choosed NANO by hitting 1) Next, scroll to the bottom of the file and add the following line.
@reboot /PATH/TO/EXECUTABLE/FILE
Example if you wanna run firefox add line like this "@reboot firefox". All you really have to remember here is ‘@reboot’. if you have a argumets to run add it after the executable path like this
@reboot firefox -O
Press "Ctrl + O" and hit Enter to save if you'r using Nano, and then "Ctrl + X" to exit. That’s it! Restart the system and see how it's works.