Wednesday 8 February 2012

Как посылать ошибки крона на несколько email?

Очень просто, в самом верху crontab -e перечисляем через запятую адреса получателей:,

MAILTO may also be used to direct mail to  multiple  recipients by separating recipient users with a comma. If MAILTO is defined but empty (MAILTO=""), no mail will be sent. Otherwise mail is sent to the owner of the crontab.

Источник: man 5 crontab.

No comments :

Post a Comment

Note: only a member of this blog may post a comment.