aws-samples / aws-parallelcluster-monitoring

Monitoring Dashboard for AWS ParallelCluster
MIT No Attribution
31 stars 23 forks source link

disable cron email #15

Open bollig opened 2 years ago

bollig commented 2 years ago

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

Message 44:
From ec2-user@ip-10-0-19-26.eu-west-1.compute.internal  Tue Aug 17 05:38:03 2021
Return-Path: <ec2-user@ip-10-0-19-26.eu-west-1.compute.internal>
Date: Tue, 17 Aug 2021 05:38:03 GMT
From: "(Cron Daemon)" <ec2-user@ip-10-0-19-26.eu-west-1.compute.internal>
To: ec2-user@ip-10-0-19-26.eu-west-1.compute.internal
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