Hallo,
ich würde gerne das mein Raspberry automatisch mir eine Mail zuschickt.
Also habe ich bei crontab -e den Befehle "*/1* * * * pi sudo python2 test.py" eingetragen.
Leider erhalte ich minütlich keine Mail, wenn ich diese Datei selber auführe mit dem befehl "python2 test.py" erhalte ich eine Mail.
In der Syslog sehe ich das crontab das ganze ausführt.
In der letzten Zeile steht dann aber
(root) MAIL (mailed 70 bytes of output but got status 0x0001 from MTA#012)
# The user that gets all the mails (UID < 1000, usually the admin)
root=**********@gmail.com
# The mail server (where the mail is sent to), both port 465 or 587 should be acceptable
# See also http://mail.google.com/support/bin/answer.py?answer=78799
mailhub=smtp.gmail.com:587
# The address where the mail appears to come from for user authentication.
rewriteDomain=gmail.com
# The full hostname
hostname=gmail.com
# Use SSL/TLS before starting negotiation
UseTLS=Yes
UseSTARTTLS=Yes
# Username/Password
AuthUser=********@gmail.com
AuthPass=*****
Debug=NO
# Email 'From header's can override the default domain?
FromLineOverride=NO
Mein zweites Problem ein Tag nachdem der Raspberry aus ist verliert er die SSH datei.
Wisst ihr wieso ?
Danke im vorraus sitzte hier schon Stunden an dem Problem.
Gruß
Sanya