Gentoo Archives: gentoo-user

From: antlists <antlists@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Cron and disabling emails for one script only
Date: Tue, 06 Apr 2021 18:24:23
Message-Id: 2b233575-bdf8-2947-2a07-952485165253@youngman.org.uk
In Reply to: [gentoo-user] Cron and disabling emails for one script only by Dale
1 On 06/04/2021 18:43, Dale wrote:
2 > Keep in mind, I do not want to disable ALL emails, just this one
3 > script.  How does one disable emails for this one cron job?  Do I have a
4 > typo or putting it in wrong place maybe?  Everything I found shows this
5 > should work but obviously I'm doing something wrong.  Again, error
6 > emails are fine.  I don't want successful runs tho.
7
8 Are you sure?
9
10 What if the job doesn't run (and doesn't send a failure message). Try
11 and get it to use some distinguishing characteristic for your email
12 client to separate success and failure. Then you can dump all your
13 success messages into a folder that expires messages. If you suddenly
14 discover you've got no messages your know your cron job is stuffed. If
15 your job is stuffed you get the error email.
16
17 Cheers,
18 Wol