Archive for September 18th, 2026
President Donald J. Trump – Makes an Announcement on Healthcare September 18 2026
Freitag, September 18th, 2026Neuralink CEO Elon Musk – speaking with the mind
Freitag, September 18th, 2026KH-IT Herbsttagung 2026 – DaphOS siegt beim KH-IT-Start-up-Pitch und vorgestellt wurde die Lösung von Sarah Peuling als General Managerin Deutschland
Freitag, September 18th, 2026Proxmox Virtual Environment (VE) 9.2.10 – has announced true 24/7 enterprise support removing one of the biggest concerns organizations have had when considering Proxmox VE as a VMware alternative
Freitag, September 18th, 2026Linux command ‚msmtp‘ – using ‚MAILTO‘ in cron job(s)
Freitag, September 18th, 2026
The MAILTO environment variable in cron allows you to specify an email address to receive output from your cron job
root@rpi-samba-01:~# crontab -l
…
MAILTO=josef.schuster@dpsolution.de
# * * * * * echo „eMail Check“
01 0-23 * * * `journalctl –output=short -S yesterday| tail -c 131072 > /var/log/syslog` && `scp /var/log/syslog root@192.168.1.171:/var/log/UrgentSyslogShort.rpi-samba-01`
05 0-23 * * * `tail -c 131072 /var/log/samba/log.smbd > /var/log/smbd.log` && `scp /var/log/smbd.log root@192.168.1.171:/var/log/UrgentSambaLogShort.rpi-samba-01`
root@rpi-samba-01:~#
By default cron jobs sends an email via the MAILTO variable only if the cron job generates output (stdout or stderr) if a script runs completely error free and silently cron sends no message at all by default



