M
M
m2_viktor2015-06-22 11:39:31
Debian
m2_viktor, 2015-06-22 11:39:31

cron. Why is stdout cron being written to my mail if the job is running as root?

Hello, I set up rsync+cron autobackup in debian7. Logged in as root, I write
crontban -e.
0-59 * * * * rsync -avv /tmp/data /tmp/backup
Log out as root, log in as my user viktor.
less /var/mail/viktor
I see the stdout of pink.
Question: what does the user viktor have to do with it? I didn't point it out anywhere. I thought that by default letters are sent to the one who created the task in crontab, or to the one who is specified as the recipient.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AVKor, 2015-06-22
@m2_viktor

grep ^root /etc/aliases.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question