Skip to main content
deleted 225 characters in body
Source Link
Lri
  • 106.4k
  • 19
  • 230
  • 283

Enable at:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist

Add a Run Shell Script action that uses terminal-notifier to display a notification:

at 2 months <<< 'terminal-notifier -message "some message" -title "title"'

Replace terminal-notifier with /Applications/terminal-notifier.app/Contents/MacOS/terminal-notifier if you've installed it by downloading the application bundle.

now+5 <<< 'say a' would run a command in five seconds. You can list scheduled commands with atq and remove them with atrm. See man at for more information.

If you want to display a notification only once for each folder, select pass input as arguments and add this to the script:

d=${1%/}
d=${d%/*}
c=${TMPDIR%T/}C/atnotifier
grep -x "$d" $c && exit
echo "$d" >> $c

Enable at:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist

Add a Run Shell Script action that uses terminal-notifier to display a notification:

at 2 months <<< 'terminal-notifier -message "some message" -title "title"'

Replace terminal-notifier with /Applications/terminal-notifier.app/Contents/MacOS/terminal-notifier if you've installed it by downloading the application bundle.

now+5 <<< 'say a' would run a command in five seconds. You can list scheduled commands with atq and remove them with atrm. See man at for more information.

If you want to display a notification only once for each folder, select pass input as arguments and add this to the script:

d=${1%/}
d=${d%/*}
c=${TMPDIR%T/}C/atnotifier
grep -x "$d" $c && exit
echo "$d" >> $c

Enable at:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist

Add a Run Shell Script action that uses terminal-notifier to display a notification:

at 2 months <<< 'terminal-notifier -message "some message" -title "title"'

Replace terminal-notifier with /Applications/terminal-notifier.app/Contents/MacOS/terminal-notifier if you've installed it by downloading the application bundle.

now+5 <<< 'say a' would run a command in five seconds. You can list scheduled commands with atq and remove them with atrm. See man at for more information.

added 631 characters in body
Source Link
Lri
  • 106.4k
  • 19
  • 230
  • 283

You could useEnable at and terminal-notifier.:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist

Add a Run Shell Script action that uses terminal-notifier to display a notification:

at 2 months <<< 'terminal-notifier -message message"some message" -title title'"title"'

Replace terminal-notifier with /Applications/terminal-notifier.app/Contents/MacOS/terminal-notifier if you've installed it by downloading the application bundle.

now+5 <<< 'say a' would run a command in five seconds. You can list scheduled commands with atq and remove them with atrm. See man at for more information.

If you want to display a notification only once for each folder, select pass input as arguments and add this to the script:

d=${1%/}
d=${d%/*}
c=${TMPDIR%T/}C/atnotifier
grep -x "$d" $c && exit
echo "$d" >> $c

You could use at and terminal-notifier.

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist
at 2 months <<< 'terminal-notifier -message message -title title'

Enable at:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist

Add a Run Shell Script action that uses terminal-notifier to display a notification:

at 2 months <<< 'terminal-notifier -message "some message" -title "title"'

Replace terminal-notifier with /Applications/terminal-notifier.app/Contents/MacOS/terminal-notifier if you've installed it by downloading the application bundle.

now+5 <<< 'say a' would run a command in five seconds. You can list scheduled commands with atq and remove them with atrm. See man at for more information.

If you want to display a notification only once for each folder, select pass input as arguments and add this to the script:

d=${1%/}
d=${d%/*}
c=${TMPDIR%T/}C/atnotifier
grep -x "$d" $c && exit
echo "$d" >> $c
Source Link
Lri
  • 106.4k
  • 19
  • 230
  • 283

You could use at and terminal-notifier.

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist
at 2 months <<< 'terminal-notifier -message message -title title'