Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| it:cron [2023/02/15 08:29] – created - external edit 127.0.0.1 | it:cron [2026/08/31 08:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | # Mémo | + | ====== Cron ====== |
| - | ## Envoi email | + | ===== Configurer l' |
| + | Ajouter la variable suivante dans `/ | ||
| - | ## Config cron | + | <code ini> |
| + | MAILTO=" | ||
| + | </ | ||
| - | Dans / | + | Puis relancer |
| - | Puis relancer | + | |
| - | ##Config MTA | + | <code bash> |
| - | + | sudo systemctl restart cron.service | |
| - | `sudo apt install msmtp msmtp-mta bsd-mailx` | + | </ |
| - | + | ||
| - | vim .msmtprc | + | |
| - | + | ||
| - | defaults | + | |
| - | host mail.00011100.org | + | |
| - | port 587 | + | |
| - | protocol smtp | + | |
| - | tls on | + | |
| - | tls_certcheck on | + | |
| - | tls_starttls on | + | |
| - | auth on | + | |
| - | + | ||
| - | account Personal | + | |
| - | from web@00011100.org | + | |
| - | user web@00011100.org | + | |
| - | password super_passwd | + | |
| - | | + | |
