Last active
November 18, 2021 13:12
-
-
Save ronilaukkarinen/4eb71bd2263d01b7b8a2cd94509cbb49 to your computer and use it in GitHub Desktop.
cron-startup-tasks.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# These commands will run on MacOS startup, cron @reboot | |
# Quit Stand Up | |
/usr/bin/osascript -e 'quit app "Stand Up"' | |
# Reset Stand Up app settings | |
/bin/rm -rf "/Users/rolle/Library/Containers/com.keenappsgroup.standapp" | |
# Start Stand Up | |
/usr/bin/su -l rolle -c '/usr/bin/open -a "Stand Up.app"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment