How to create a cron log file in macOS High Sierra
2
votes
0
answers
2157
views
I have cron jobs running, but I'm unable to figure out how to make it create a
cron.log
file in /var/log
.
I've edited /etc/syslog.conf
file by adding:
cron.* /var/log/cron.log
and relaunched the syslog daemon, but I still do not get a log file.
I've edited the com.vix.cron.plist
file and redirected output and error messages to /var/log/cron.log
. Even though that works, it is nowhere near being a proper log file with date and time shown.
Asked by user1517199
(21 rep)
Jul 4, 2019, 09:14 AM
Last activity: Jun 26, 2025, 02:07 AM
Last activity: Jun 26, 2025, 02:07 AM