Forked from nguyenthanhtung88/Enable crontab log MAC
Created
February 10, 2021 05:58
-
-
Save nyimbi/afe8cc7ac14157e0a169a0f3f79fb31d to your computer and use it in GitHub Desktop.
Crontab log Mac
This file contains hidden or 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. `vim /etc/syslog.conf` | |
2. Add to end of file: `cron.* /var/log/cron.log` | |
3. | |
``` | |
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist | |
sudo launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist | |
``` | |
[where-is-the-cron-log-file-in-macosx-lion](http://apple.stackexchange.com/questions/38861/where-is-the-cron-log-file-in-macosx-lion) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment