Created
June 9, 2015 09:36
-
-
Save rusllonrails/c9c49d21414b47d55e67 to your computer and use it in GitHub Desktop.
CRON SET LOG LEVEL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) | |
You can edit the cron init script (/etc/init/cron.conf) as follow: | |
``` | |
# cron - regular background program processing daemon | |
# | |
# cron is a standard UNIX program that runs user-specified programs at | |
# periodic scheduled times | |
description "regular background program processing daemon" | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
expect fork | |
respawn | |
exec cron -L 7 | |
``` | |
OR 2.) | |
Probably smth like this on cron side: ` | |
/etc/default/cron: | |
``` | |
# Extra options for cron, see cron(8) | |
# For example, set a higher log level to audit cron's work | |
EXTRA_OPTS="-L 7" | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment