Autostart-Applications-RaspberryPi Crontab Rcloca

print

Intro:  Start Applications automatically in Raspberry Pi

This tutorial demonstrates 4 different methods to run GUI/ Non-GUI based application when the Raspberry Pi boots up.

  1. Crontab
  2. local
  3. desktop4. init.d folder test.jar application used in the tutorial : https://goo.gl/tO4sWg

########################

Commands::

  1. Crontab:

$ sudo nano cronatb -e Add the following lines @reboot /usr/bin/java -jar /home/pi/Desktop/test.jar

  • local

$sudo nano /etc/rc.local

  1. desktop

Contents:.  https://goo.gl/tO4sWg

  1. d folder:

$cd /etc/init.d $sudo nano app app Contentes:  https://goo.gl/tO4sWg

$sudo chmod +x app

$sudo rc-update.d app defaults

___________________________________________

Subscribe :  http://goo.gl/gM134X

Guys Subscribe to my channel for latest contents into your inbox. Support me to keep going. ___________________________________________

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.