M
M
My joy2015-04-08 10:10:17
Debian
My joy, 2015-04-08 10:10:17

How to disable cron logging to the /root folder?

Hello.
On the cron server, for some reason, it duplicates the files it executes in the /root folder (as a result of processing this file with the same file name), which clogs up space on the server. Can you tell me where this crap can be turned off?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton B, 2015-04-08
@t-alexashka

Add at the end of each line the cron " 2>&1"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question