I've searched a lot but still didn't find the solution to my problem
I have a Java application which works perfectly on a detached screen when I run the command "screen -S twitter java -jar /home/pi/Twitter\ Bot\ Server.jar" manually. I want it to be executed at reboot.
I am using crontab to achieve it, so far I have created a script named "launch.sh" (content here : http://pastebin.com/WygEPp0Y) in the home directory (it works when running "sh launch.sh"), and I added this line to crontab : "@reboot sh /home/pi/launcher.sh >/home/pi/logs/cronlog 2>&1".
The problem is that nothing happen at reboot
Does anyone has advice? I would really appreciate it.
Thanks in advance,
dbrazzor