Skip to content

Instantly share code, notes, and snippets.

@nguyenthanhtung88
Created June 23, 2016 04:53
Show Gist options
  • Save nguyenthanhtung88/067bc1a5ebc054ce3e0fcace4e41c533 to your computer and use it in GitHub Desktop.
Save nguyenthanhtung88/067bc1a5ebc054ce3e0fcace4e41c533 to your computer and use it in GitHub Desktop.
Crontab log Mac
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)
@sarnobat
Copy link

Looks like this won't work on Mac OS 12 :( Thank you still.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment