Benutzer-Werkzeuge

Webseiten-Werkzeuge


hardware:controllers:youless

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Letzte ÜberarbeitungBeide Seiten der Revision
hardware:controllers:youless [2017/06/02 08:40] tiedihardware:controllers:youless [2017/06/08 09:28] tiedi
Zeile 247: Zeile 247:
 Insert the following code and press "STRG" +"X" to save an exit the file: Insert the following code and press "STRG" +"X" to save an exit the file:
 <code sh|yl.sh> <code sh|yl.sh>
-#/bin/bash+#!/bin/bash
 while true while true
 do do
Zeile 277: Zeile 277:
 To edit the crontab type To edit the crontab type
 <code> <code>
-crontab -e+sudo nano /etc/rc.local
 </code> </code>
-and add the following line on the bottom of the file:+and add the following line on the bottom of the file, before the line "exit 0":
 <code> <code>
-* * * * * /bin/bash /etc/yl.sh+bash /etc/yl.sh&
 </code> </code>
-It's very important the under this line is another line which is empty oder you can type a #. If it's not the crontab won't work. 
- 
-{{:hardware:controllers:unbenannt.jpg?400|}} 
  
 So that's it. now it should work. So that's it. now it should work.
hardware/controllers/youless.txt · Zuletzt geändert: 2018/01/25 16:22 von jau