Possibility to disable or hide CRON notification about starting one specific process

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












Good evening, my question is as the title states. I was wondering if it is possible to having multiple cron jobs in crontab active, but only one of them starts each minute. The problem here is I wish to keep log of all others jobs informations with the exception of this only one.



Oct 25 14:50:01 dtest CRON[942]: (root) CMD (/usr/bin/python2.7 check.py > /dev/null 2>&1)


Currently I am getting flooded with all those lines, which made me curious if cron is able to supress a log entry for selected processes?



Thank You for the answers









share





















  • I don't think cron is designed to be configured to not log event triggers for only one specific event. You can either log, or not. If you want to tail the log and eschew those entries, you can tail -f logfile | grep -v 'python2.7 check.py'.
    – DopeGhoti
    2 mins ago














up vote
0
down vote

favorite












Good evening, my question is as the title states. I was wondering if it is possible to having multiple cron jobs in crontab active, but only one of them starts each minute. The problem here is I wish to keep log of all others jobs informations with the exception of this only one.



Oct 25 14:50:01 dtest CRON[942]: (root) CMD (/usr/bin/python2.7 check.py > /dev/null 2>&1)


Currently I am getting flooded with all those lines, which made me curious if cron is able to supress a log entry for selected processes?



Thank You for the answers









share





















  • I don't think cron is designed to be configured to not log event triggers for only one specific event. You can either log, or not. If you want to tail the log and eschew those entries, you can tail -f logfile | grep -v 'python2.7 check.py'.
    – DopeGhoti
    2 mins ago












up vote
0
down vote

favorite









up vote
0
down vote

favorite











Good evening, my question is as the title states. I was wondering if it is possible to having multiple cron jobs in crontab active, but only one of them starts each minute. The problem here is I wish to keep log of all others jobs informations with the exception of this only one.



Oct 25 14:50:01 dtest CRON[942]: (root) CMD (/usr/bin/python2.7 check.py > /dev/null 2>&1)


Currently I am getting flooded with all those lines, which made me curious if cron is able to supress a log entry for selected processes?



Thank You for the answers









share













Good evening, my question is as the title states. I was wondering if it is possible to having multiple cron jobs in crontab active, but only one of them starts each minute. The problem here is I wish to keep log of all others jobs informations with the exception of this only one.



Oct 25 14:50:01 dtest CRON[942]: (root) CMD (/usr/bin/python2.7 check.py > /dev/null 2>&1)


Currently I am getting flooded with all those lines, which made me curious if cron is able to supress a log entry for selected processes?



Thank You for the answers







debian cron syslog





share












share










share



share










asked 5 mins ago









RedS

83




83











  • I don't think cron is designed to be configured to not log event triggers for only one specific event. You can either log, or not. If you want to tail the log and eschew those entries, you can tail -f logfile | grep -v 'python2.7 check.py'.
    – DopeGhoti
    2 mins ago
















  • I don't think cron is designed to be configured to not log event triggers for only one specific event. You can either log, or not. If you want to tail the log and eschew those entries, you can tail -f logfile | grep -v 'python2.7 check.py'.
    – DopeGhoti
    2 mins ago















I don't think cron is designed to be configured to not log event triggers for only one specific event. You can either log, or not. If you want to tail the log and eschew those entries, you can tail -f logfile | grep -v 'python2.7 check.py'.
– DopeGhoti
2 mins ago




I don't think cron is designed to be configured to not log event triggers for only one specific event. You can either log, or not. If you want to tail the log and eschew those entries, you can tail -f logfile | grep -v 'python2.7 check.py'.
– DopeGhoti
2 mins ago















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477814%2fpossibility-to-disable-or-hide-cron-notification-about-starting-one-specific-pro%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477814%2fpossibility-to-disable-or-hide-cron-notification-about-starting-one-specific-pro%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Peggy Mitchell

The Forum (Inglewood, California)

Palaiologos