guarinogabriel/Mac-CLI

Run Mac-CLI In The Background (Hourly, Daily, Weekly)

slavakurilyak opened this issue · 2 comments

As a developer, I want to run mac-cli hourly, so that I don't have to manually run $ mac update every time I start my macOS.

I tried two methods, but both didn't work.

Method 1 (Didn't Work)

$ crontab -e
@hourly echo "password" | sudo -S mac update

Method 2 (Didn't Work)

$ crontab -e
@hourly sudo -S <<< "password" mac update

Please advise.

Anyone? I would love to set mac update and let it run in the background

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.