From: syscon edm <syscon780@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] /etc/crontab - sending notification to a different user
Date: Mon, 26 Aug 2024 23:10:18 -0600 [thread overview]
Message-ID: <CAEVFJ_DwcnCaMXUSZjJfofjvG=yd=foTBrLE6H+ES+3z8yDEzw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 314 bytes --]
In "/etc/crontab" I have:
# for cronie
# Global variables
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=syscon8
HOME=/
But when it run a cron-job, the email is still going to "root@gmail.com"
instead of syscon8@gmail.com
How to adjust the entry to the email notification will go to a specific
user.
[-- Attachment #2: Type: text/html, Size: 512 bytes --]
next reply other threads:[~2024-08-27 5:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-27 5:10 syscon edm [this message]
2024-08-27 7:05 ` [gentoo-user] /etc/crontab - sending notification to a different user Joost Roeleveld
2024-08-27 17:09 ` syscon edm
2024-08-27 20:14 ` J. Aho
2024-08-31 16:56 ` Michael
2024-08-31 19:11 ` syscon edm
2024-08-31 19:16 ` Michael
2024-08-31 19:34 ` syscon edm
2024-08-31 20:16 ` Michael
2024-08-31 20:56 ` syscon edm
2024-09-01 9:23 ` Michael
2024-09-03 2:00 ` [gentoo-user] [SOLVED] " syscon edm
2024-08-31 17:20 ` [gentoo-user] " ralfconn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAEVFJ_DwcnCaMXUSZjJfofjvG=yd=foTBrLE6H+ES+3z8yDEzw@mail.gmail.com' \
--to=syscon780@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox