Anton Aylward wrote:
On 13/06/2020 05:11, Bengt Gördén wrote:
simplest way to send mail from cron
I'd say that the easiest way to send mail from a box without any small helper programs is this:
Adjust for your needs and put in a script and call from cron
cat > /dev/tcp/yourserver.tld/25 <<EOF
Yer what?
I recall proposing /dev/inet/{tcp,udp}/domainname/port protocl for a virtual device back when I was beta testing BSD4.1C on a VAX in 1982/3 But when BSD4.2 came out it wasn't there.
I recall reading about Bell's Plan 9 ...
Now tell me, is this implemented on the Pi? 'Cos it aint on my 5.7 kernel
It not a kernel topic, it's in bash. It's been around at least since openSUSE 10.3. (just happens to be the oldest system I have running). -- Per Jessen, Zürich (19.6°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org