I want to use automator or terminal to fetch data from the mac console app.
In particular:
If you search for "sleepwake" in the console app › tab "Mac Analytics Data", you get the timestamps when you woke up the mac from sleep mode.
I want to get those timestamps (e.g. the last one) by some sort of automation.
Any idea?