Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question