You are not logged in.

#1 2016-11-06 21:30:10

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

journalctl verbosity with cronie ... decrease logging level somehow

I have a root cronjob trigger every 10 min (cronie) and as a result my journalctl output is polluted with many entries of cronie triggering the job.  I did not see any options to decrease the cronie verbosity as it related to journalctl via googling so I thought I'd tap the community.  Thoughts?

To be clear, the crontab looks like this so it's not the output of the script I wish to silence, is the cronie calls to journalctl entirely.

*/10 * * * * /root/bin/leaktest

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2016-11-07 15:27:27

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: journalctl verbosity with cronie ... decrease logging level somehow

You could use a loop in a shell script instead of cronie for such a simple task.

Offline

Board footer

Powered by FluxBB