NAME
mailcmd – mail the output of a failed command

SYNOPSIS
mailcmd [ –m addr ]... command line

DESCRIPTION
Mailcmd runs the command line using rc(1). If the command exits with an error status, mailcmd mails the command's output to the named addresses (by default, the current user).

Mailcmd is typically used to run automatic scripts such as those started by cron(8).

SOURCE
/rc/bin/mailcmd

SEE ALSO
cron(8)
Copyright © 2025 Plan 9 Foundation