Forked from nguyenthanhtung88/Enable crontab log MAC
Created
October 26, 2017 08:04
-
-
Save flashfoxter/daae4970ba06bcec96840016b7b236a8 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