1
vote
2answers
31 views

How to make crontab email me with output?

How can I make crontab email me with the output of its jobs? I have MAILTO=redacted@yahoo.com.au above the jobs, but it doesn't work. I know I need to use something like Postfix or Sendmail but for ...
0
votes
0answers
20 views

Configure cron to include FQDN in email

We have machines named like so: serverA.subdomainA.TLD.co serverA.subdomainB.TLD.co Works fine for us, except when I get an email from cron, the messages looks like: From: root@tld.com ...
1
vote
1answer
42 views

Problems with MAILTO setting: server doesn't sent cron's e-mail

I have Ubuntu 14.04 with Postfix mail server. Php/apache can send e-mails. But i don't resive any messadge from cron. Here my setup: MAILTO=crantisz@gmail.com */2 * * * * wget -o /home/user/out.html ...
0
votes
1answer
39 views

Chkrootkit not producing a log file

This is the line from my crontab However, the log never gets sent to me..and when I check the log it is empty. I have tried Chkrootkit from the terminal and it runs OK. What am I missing? 30 09 * * ...
0
votes
0answers
21 views

What is the difference between postfix and mailsutils?

I am attempting to set up an AWS EC2 with a simple mailing service for my crontab. And I have postfix set up, but when I used the "mail" command it did not work. So I installed mailutils as ubuntu ...
2
votes
2answers
143 views

sending email from cron with correct format

I am stuck when sending email in correct format from cron jobs executing my php script which fetches records from mysql database. i have a php script which fetches records from database and renders ...
0
votes
0answers
24 views

cron to email when a psql stops recording data

I have a PSQL setup and records data every 10 minute or less. The connection sometimes dies and it results is logging failure and I have no idea when that happens. I want to create a cron job to email ...
1
vote
1answer
90 views

Simplest MTA mail setup for a desktop to receive (ana)cron emails

Ubuntu (12.04 LTS) doesn't seem to install any sort of mailer by default. Everybody seems to recommend installing Postfix. I am familiar with Postfix, which I use on several "real" servers. But it ...
0
votes
0answers
25 views

Crontab is not giving me error notifications [duplicate]

I don't always have the most reliable internet and I miss the feature in Windows where you're network icon changes. So far the only thing I can find to replace this is a cron job that pings. I set up ...
1
vote
2answers
53 views

Network Information for Theft Prevention [closed]

I haven't seen much of this around, and I'm not a network expert/sysadmin, so I need some advice. I have a laptop that I'd like to "protect" against theft (this is really a game more than a real ...
0
votes
1answer
87 views

crontab entry to reboot than email

I got my weekly crontab reboot entry to work using /sbin/shutdown -r but now I want it to email me when the reboot happens. Ideally I would like the email to happen after it rebooted so I know the ...
0
votes
1answer
917 views

Crontab and sSMTP

My server is Ubuntu 12.04.3 Cron jobs are working fine. I can send emails through command line, either using mail, ssmtp or sendmail. I have set the correct email address on top of the crontab -e ...
4
votes
5answers
6k views

cron.daily jobs not running

I created 3 daily cron jobs to run. Below are the three that are placed in etc/cron.daily rkhunter.sh #!/bin/sh ( rkhunter --versioncheck rkhunter --update rkhunter --cronjob --report-warnings-only ...
1
vote
2answers
16k views

Setup cron job to send email to a bunch of people on a regular basis

I want to send a fixed email reminder from my email address every Monday, Wednesday and Friday to a bunch of people. How do I go about setting this up using crontab? I have an email account on the ...
2
votes
0answers
127 views

Need to setup email notification when system starts and shutdown

I would like to have the system send me a email notification everrytime the system starts or shuts down. I am currently running Ubuntu 12.10 I found this tutorial but I couldn't make it to work.
4
votes
2answers
13k views

How to stop email report from Cron <root@machine> (hourly)

I'm running an Ubuntu 12.04, I've configured "ssmtp" with my gmail account and now I'm getting every hour an email with a report, this is an example: From: root <my@gmail.com> Date: 2012/8/13 ...
2
votes
3answers
11k views

How do I configure exim4 to send mail through a password protected ssl smtp mail server?

I'd like my cronjobs to be able to send mail from my home computer. My servers configure exim4 like this: dc_eximconfig_configtype='internet' dc_other_hostnames='' dc_local_interfaces='127.0.0.1' ...
1
vote
2answers
4k views

Mutt runng from Crontab

I have a bash script that is sending an email through command line mutt. This bash script is being called from a cron job (setup using crontab -e because of permissions needed to do all items in the ...
2
votes
1answer
2k views

Why would logwatch (with cron) on stop e-mailing me daily reports?

I have logwatch configured with cron to e-mail me a daily report from my ubuntu server. Occasionally, something happens like the power goes out (which is what just happened actually) or the system ...
7
votes
3answers
12k views

How can I setup a Mail Transfer Agent?

I intend to use mutt to send automated emails via cron or at with attachments to my gmail address when particular events happen on my Ubuntu server. Currently, mutt cannot send email to external ...