From: Joost Roeleveld <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] /etc/crontab - sending notification to a different user
Date: Tue, 27 Aug 2024 07:05:26 +0000 [thread overview]
Message-ID: <20240827070526.EGroupware._iUjF_mg2B3oYRsy2475Vye@_> (raw)
In-Reply-To: <CAEVFJ_DwcnCaMXUSZjJfofjvG=yd=foTBrLE6H+ES+3z8yDEzw@mail.gmail.com>
----------------------- 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
next prev parent reply other threads:[~2024-08-27 7:10 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 [this message]
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=20240827070526.EGroupware._iUjF_mg2B3oYRsy2475Vye@_ \
--to=joost@antarean.org \
--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