[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: atd checkts nicht mit dem Datum



Am Fri, 20 May 2016 11:37:15 +0200
schrieb Andre Tann <atann@alphasrv.net>:
> 
> Doch, er ist ausgeführt worden. Alle sind ausgeführt worden.
> 
> Und hier der Test:
> 
> atann@a03:~$ echo -e 'Hallo Matthias\n\n' | mail -s 'Testmail von at'
> -r "Andre Tann <atann@alphasrv.net>" matthias.boettcher@gmail.com |
> at 11:35 04.06.2016
> warning: commands will be executed using /bin/sh
> job 17 at Sat Jun  4 11:35:00 2016
>
Hallo,
Du hast dort in der Zeile ein Denkfehler:
tann@a03:~$ echo -e 'Hallo Matthias\n\n' | mail -s 'Testmail von at'
-r "Andre Tann <atann@alphasrv.net>" matthias.boettcher@gmail.com |
at 11:35 04.06.2016
Zuerst sendest du eine Email an Andre und die stdout sendest du an at
als Job.
Das ist nichts oder irgentetwas von mail-Befejl. Und nicht der Befehl
welches du haben willst.
Besser ist:
at <<eof 11:35 04.06.2016
echo -e 'Hallo Matthias\n\n' | mail -s 'Testmail von at'
-r "Andre Tann <atann@alphasrv.net>" matthias.boettcher@gmail.com
eof


Reply to: