Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

crontab does not send email notices to /var/mailuser ?

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
1885
Posts: 127
Joined: 2014-06-05 04:23

crontab does not send email notices to /var/mailuser ?

#1 Post by 1885 »

We are running an array of crontab processes in an experimatal lab (school)

I do not understand why we are not getting email notifications when a crontab's errors or are successful.

I have a redhat server running and by default I get a notification when a crontab is processed at /var/mail/username

How do I enable this on our debian9 boxes?

Example out on Redhat box:

Code: Select all

Message-Id: <20180508141503.73205C0003A8C@t********.org>
Date: Tue,  8 May 2018 07:15:03 -0700 (PDT)

>From https://github.com/t****/********
   091ea56..947efc5  master     -> origin/master
Updating 091ea56..947efc5
Fast-forward
 documentation/linux/command-line/pingsweep-arp.txt | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 documentation/linux/command-line/pingsweep-arp.txt






cronoik
Posts: 310
Joined: 2015-05-20 21:17

Re: crontab does not send email notices to /var/mailuser ?

#2 Post by cronoik »

Can you please post your crontab?
Have a nice day!

Dai_trying
Posts: 1101
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: crontab does not send email notices to /var/mailuser ?

#3 Post by Dai_trying »

I use postfix for this and set it up to be local only, this way I receive local mail when cron returns output. Of course if you already have mail transport set up it could be a different problem.

Post Reply