Skip to content

Instantly share code, notes, and snippets.

@rusllonrails
Created June 9, 2015 09:36
Show Gist options
  • Save rusllonrails/c9c49d21414b47d55e67 to your computer and use it in GitHub Desktop.
Save rusllonrails/c9c49d21414b47d55e67 to your computer and use it in GitHub Desktop.
CRON SET LOG LEVEL
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