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

Re: [Un peu HS] Recevoir un mail après une tâche programmée



On Mon, 29 Nov 2010 08:47:28 +0100, David BERCOT <debian@bercot.org> wrote:

> Sous Debian, quand on programme une tâche via un Cron, un mail est
> généré après l'exécution.
> Je souhaiterais faire la même chose sur un NAS synology. Auriez-vous
> quelques informations sur le paramétrage de ces mails ?


(
echo "From: yakmoikiboss@machine.lan"
echo "To: user1@smtp.lan"
echo "Subject: Et toi tu fous rien pendant ctempslà"
echo "Content-Transfer-Encoding: 8bit"
echo "Content-Type: text/plain; charset=\"UTF-8\""

blah blah blah

) 2>&1 | /usr/lib/sendmail -t

-- 
No television performance takes as much preparation as an off-the-cuff talk.
		-- Richard Nixon


Reply to: