bashcronat-job

Cannot pipe to 'at'


I have a note programme which calls echo 'notify-send Hello' | at now +1 minutes however this does not work. I tried it in a terminal and, sure enough, notify-send Hello works, but echo 'notify-send Hello' | at now +1 minutes does not. What solution is there for this, if any?


Solution

  • Strangely enough, replacing echo 'notify-send Hello' | at now +1 minutes with notify-send Hello | at now +1 minutes caused the programme to work seamlessly