Last active
June 13, 2020 01:48
-
-
Save judge2020/a6fc315ff5ca78a3d685102d5bd2c8fc to your computer and use it in GitHub Desktop.
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
# sudo su | |
# crontab -e | |
2 * * * * mkdir -p -m777 /tmp/cores && echo "/tmp/cores/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment