hardware:controllers:youless
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
hardware:controllers:youless [2017/06/02 08:38] – tiedi | hardware:controllers:youless [2018/01/25 16:22] (aktuell) – code jau | ||
---|---|---|---|
Zeile 41: | Zeile 41: | ||
< | < | ||
the file " | the file " | ||
- | <code php|yl.php> | + | <code php yl.php> |
<?php | <?php | ||
/** | /** | ||
Zeile 153: | Zeile 153: | ||
< | < | ||
Insert the following code and press " | Insert the following code and press " | ||
- | <code php|vzapihelper.php> | + | <code php vzapihelper.php> |
<?php | <?php | ||
/** | /** | ||
Zeile 246: | Zeile 246: | ||
< | < | ||
Insert the following code and press " | Insert the following code and press " | ||
- | < | + | < |
- | #1 /bin/bash | + | #!/bin/bash |
while true | while true | ||
do | do | ||
Zeile 277: | Zeile 277: | ||
To edit the crontab type | To edit the crontab type | ||
< | < | ||
- | crontab -e | + | sudo nano / |
</ | </ | ||
- | 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": |
< | < | ||
- | * * * * * /bin/bash /etc/yl.sh | + | bash /etc/yl.sh& |
</ | </ | ||
- | 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. | ||
- | |||
- | {{: | ||
So that's it. now it should work. | So that's it. now it should work. | ||
Zeile 313: | Zeile 310: | ||
For any feedback please contact wf (at) bitplan.com or tiedi (at) web.de. Enjoy ... | For any feedback please contact wf (at) bitplan.com or tiedi (at) web.de. Enjoy ... | ||
+ | |||
+ | |||
+ | [[https:// | ||
+ | |||
+ | |||
hardware/controllers/youless.1496385504.txt.gz · Zuletzt geändert: 2017/06/02 08:38 von tiedi