Skip to content

Cron will waterpi.py nicht ausführen #8

Discussion options

You must be logged in to vote

Hallo & Danke an deinem Interesse an dem Projekt :)

Das die Ausgänge nicht zurück gesetzt werden ist sehr komisch. Dazu müsstest den Inhalt deiner waterpi.py posten, nur dort kann ein Fehler sein der das Verhalten erklärt.

Den Cron muss man nach jeder Änderung neu starten. Das geht mit sudo /etc/init.d/cron restart oder mit einem Neustart vom Raspi. Das könnte ein Grund dafür sein, warum es nicht ganz so klappt. Ein anderer Grund könnten die fehlende Ausführungsrechte sein, wie du richtig erkannt hast. Mit chmod +x waterpi.py boot.py led.py erhalten die Dateien zusätzlich ("+") das Recht "x" = Ausführen. (EDIT: hab das auf meiner Webseite ergänzt)

Kurz erklärt, Datei ausführen mit:
./scr…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@Korniman-the-Rooky
Comment options

@DIY-Blub
Comment options

@Korniman-the-Rooky
Comment options

@DIY-Blub
Comment options

@DIY-Blub
Comment options

Answer selected by DIY-Blub
Comment options

You must be logged in to vote
1 reply
@DIY-Blub
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants