Automation tasks MAC

I’m old school. I love the scheduling service crontab.

0 4 * * * /opt/homebrew/bin/brew update > /dev/null 2>&1
0 4 * * * /opt/homebrew/bin/brew autoremove > /dev/null 2>&1

meaning, I run $> brew update every day at 4am, as well as $> brew autoremove, to prune anything Brew feels is not needed. — Have yet to have an issue.

I am not going to $> brew autoupdate, but at least I’ll be primed and ready to update, if needed.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *