aws-parallelcluster-monitoring icon indicating copy to clipboard operation
aws-parallelcluster-monitoring copied to clipboard

disable cron email

Open bollig opened this issue 4 years ago • 0 comments

Cron daemon generates an email for each upload (every minute). Send crontab to /dev/null or a log file.

Message 44:
From [email protected]  Tue Aug 17 05:38:03 2021
Return-Path: <[email protected]>
Date: Tue, 17 Aug 2021 05:38:03 GMT
From: "(Cron Daemon)" <[email protected]>
To: [email protected]
Subject: Cron <ec2-user@ip-10-0-19-26> /usr/local/bin/1m-cost-metrics.sh
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
Precedence: bulk
X-Cron-Env: <XDG_SESSION_ID=50>
X-Cron-Env: <XDG_RUNTIME_DIR=/run/user/1000>
X-Cron-Env: <LANG=en_US.UTF-8>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/ec2-user>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=ec2-user>
X-Cron-Env: <USER=ec2-user>
Status: R

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    21    0     0  100    21      0  21000 --:--:-- --:--:-- --:--:-- 21000
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    32    0     0  100    32      0  32000 --:--:-- --:--:-- --:--:-- 32000

bollig avatar Aug 17 '21 05:08 bollig