I need to shut down a Mac every night at 10:00 pm. Does Mac have a scheduler that I should use, or should I defer to
cron? I'm a Linux user, this was a question asked to me by a friend. I'd like to be able to insert the command from a terminal like I would in Linux:
(crontab -l >/dev/null 2>/dev/null && (crontab -l && echo "@reboot do-stuff") | crontab -)
What's the best option for doing something from the command line? I'm not exactly too familiar with OSX.