Ako poslat mail po reboote?

Miroslav Lachman 000.fbsd at quip.cz
Tue Mar 5 10:39:12 CET 2019


Peter Rosa wrote on 2019/03/05 09:09:

> prosim, ako to konfigurovat, aby to zaradilo mail do fronty aj bez 
> beziaceho MTA ?

Ja mam v cronu na vsech strojich

@reboot echo "`hostname` rebooted, up at `date`" | mail -s "`hostname` 
rebooted, up at `date`" moje at adresa

A funguje to :)

Mirek


More information about the Users-l mailing list