How to Wake a Sleeping Mac in Automator?
I have an Automator "Watch me Do" process that closes down an app at a particular time each day. The problem is this is often when the Mac is sleeping. If so, the process doesn't run, but shows an error message, something like "Cannot complete the task...". I figure there must be a way to wake the Mac via Automator, but I don't see a command to do that.
I thought about maybe scheduling it through Energy Saver, but that would not only wake the computer, but turn it on if it's off. If the computer is off, I do not need to run the process.
I'm not proficient with AppleScript and terminal processes, so I'm hoping I can solve this completely through Automator.
Thanks in advance for your help.
iMac 21.5", macOS 10.15