13 Jun
2020
13 Jun
'20
14:12
On Sat, 13 Jun 2020 15:41:05 +0200 Per Jessen <per@computer.org> wrote:
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
Very clever, I didn't know about that /dev/tcp.
# ls /dev/tcp ls: cannot access '/dev/tcp': No such file or directory -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org