Hallo Das PHP-Script im Terminal ausgeführt, macht das was es soll: Messwerte in eine Datei schreiben. Als cron-Job passiert das nicht und ich finde die Ursache nicht.
/etc/crontab erhält zusätzlich diese Zeile
1 | * * * * * michael test -x /usr/bin/php -f /media/michael/a/mich/PHP/thopowfs.php &> /media/michael/a/mich/PHP/cron.log |
syslog protokolliert jede Minute, dass php ausgeführt wird. Aber sowohl die Daten-Datei als auch die Log-Datei bleiben leer.
Was mache ich falsch?