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

Re: cron Output per mail



Hallo Jan,

Am Don, 2002-05-02 um 16.06 schrieb Jan Räther:
> Hallo alle zusammen,
> 
> wie kann ich es einstellen, daß mir der Output eines cron-jobs _nicht_
> mehr per mail zugeschickt wird?
> 

Du kannst in die Environmentvariablen am begin der crontab

MAILTO=""

eintragen. 

Danach bekommst Du gar keine Mails mehr vom cron.
Willst du nun fuer einen cronjob einen Mail bekommen, sieht der
Crontab-Eintrag wie folgt aus.

* * * * *    root   foo | mailto -s "Subject" user

mfg alex

-- 
I am chaos. 
I am the substance from which your artists and scientists build rhythms.
I am the spirit with which your children and clowns laugh in happy
anarchy.
I am chaos. I am alive, and tell you that you are free

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Reply to: