public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: syscon edm <syscon780@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] /etc/crontab - sending notification to a different user
Date: Tue, 27 Aug 2024 11:09:28 -0600	[thread overview]
Message-ID: <CAEVFJ_AAz0Xa+3pPfWPA+Q66Bbh9pH28vivfd=CwHj=MouWJYw@mail.gmail.com> (raw)
In-Reply-To: <20240827070526.EGroupware._iUjF_mg2B3oYRsy2475Vye@_>

[-- Attachment #1: Type: text/plain, Size: 984 bytes --]

That is not it.

I changed in /etc/crontab
MAILTO=syscon8@gmail.com

restart cronie but system is still emailing it to root@gmail.com

On Tue, Aug 27, 2024 at 1:49 AM Joost Roeleveld <joost@antarean.org> wrote:

>
>
> ----------------------- Original message -----------------------
> From: syscon edm <syscon780@gmail.com >
> To: gentoo-user@lists.gentoo.org
> Date: Tue, 27 Aug 2024 07:10:18 +0200
> ----------------------------------------------------------------
>
> >
> > 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
> > "mailto:root@gmail.com " instead of mailto:syscon8@gmail.com
>
> > How to adjust the entry to the email notification will go to a specific
> user.
>
> Specify the full email address instead of just a username.
>
> --
> Joost
>
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 1754 bytes --]

  reply	other threads:[~2024-08-27 17:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-27  5:10 [gentoo-user] /etc/crontab - sending notification to a different user syscon edm
2024-08-27  7:05 ` Joost Roeleveld
2024-08-27 17:09   ` syscon edm [this message]
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_AAz0Xa+3pPfWPA+Q66Bbh9pH28vivfd=CwHj=MouWJYw@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