Skip to content

disable cron email #15

@bollig

Description

@bollig

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions