Mac OS X cron log / tracking

14,092

Solution 1

With macos Monterey it seems you should use the following shell command

log show --process cron

you can add --info and/or --debug if required

Solution 2

I just redirected the output of the cron script >> to a file and that seemed to work well enough.

Solution 3

tail -f /var/log/syslog | grep CRON

It can happen that "syslog" is not located in "/var/log/", in this case just run the following line to get its location:

whereis syslog
Share:
14,092
Chris Muench
Author by

Chris Muench

Updated on July 26, 2022

Comments

  • Chris Muench
    Chris Muench almost 2 years

    What is the best way to determine if a cron job has run? Is there a log? What techniques do people use?