Skip to content

Instantly share code, notes, and snippets.

Last active May 16, 2022 22:26
What would you like to do?
## Taskmaster - nudges you onto the most important task - by Peter Wildeford
## To install: (1) save this script as `~/bin/taskmaster.applescript`.
## (2) Use `crontab -e` and add `*/40 09-19 * * 0-5 osascript $HOME/bin/taskmaster.applescript` to your crontab
## (this will run the crontab every 40 minutes between 9am and 7pm on Mondays through Fridays - use to customize)
tell application "Finder"
display alert "Taskmaster" message "Are you working on the most important task?" buttons ["No", "Yes"] default button 1
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment