| Hallo, 
 ich wollte, das regelmäßig (ca. einmal die Woche) auf dem Rechner meiner Tochter ein Script ausgeführt wird.
 
 Habe dazu anacron installiert. Da aber das Script als user ausgeführt werden muss (starten einer grafischen Oberfläche) kommt eine Fehlermeldung, da anacron als root das script starten möchte.
 
 Habe deshalb:
 
 -Gruppe anacron erstellt
 -meine Tochter zur Gruppe hinzugefügt
 -auf home einen Ordner für das anacronscript angelegt und eine anacrontab dort erstellt
 
 
 Wenn ich:
 
 Code: 
run-parts $HOME/anacron_file/anacron.weekly/
 eingebe startet das Script.
 
 Gebe ich als root:
 
 Code: 
anacron -t /home/xxx/anacron_file/anacrontab
 ein, wird der Job gestartet.
 
 Siehe syslog:
 
 Zitat: 
Feb  3 14:15:03 xxx anacron[2912]: Anacron 2.3 started on 2012-02-03
Feb  3 14:15:03 xxx anacron[2912]: Will run job `xxx.anacron.weekly' in 1 min.
 Feb  3 14:16:03 xxx anacron[2912]: Job `xxx.anacron.weekly' started
 
 dann kommt folgender Eintrag in die syslog
 
 Zitat: 
Job `xxx.anacron.weekly' terminated (exit status: 1) (mailing output)
Feb  3 14:16:03 xxx sendmail[2930]: My unqualified host name (xxx) unknown; sleeping for retry
 Feb  3 14:17:03 xxx sendmail[2930]: unable to qualify my own domain name (xxx) -- using short name
 
 Gibt es hier eine Lösung?
 |