Skip to content

Instantly share code, notes, and snippets.

@ronilaukkarinen
Last active November 18, 2021 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ronilaukkarinen/4eb71bd2263d01b7b8a2cd94509cbb49 to your computer and use it in GitHub Desktop.
Save ronilaukkarinen/4eb71bd2263d01b7b8a2cd94509cbb49 to your computer and use it in GitHub Desktop.
cron-startup-tasks.sh
#!/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