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?
Asked
Active
Viewed 136 times
1

hlovdal
- 26,565
- 10
- 94
- 165

Xander Xylona
- 13
- 3
2 Answers
1
Are you aware that at
command output does not appear on stdout on your terminal, but is mailed to you (i.e. the user starting the command)? Is it perhaps in your mailbox?

Jens
- 69,818
- 15
- 125
- 179
0
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

Xander Xylona
- 13
- 3
-
But doesn't the second version send the notification immediately instead of in one minute? Nevertheless: If you solved your problem, please accept your own answer, if not, please edit your question instead and remove this answer, or people will assume you aren't asking anymore. – Socowi Mar 27 '17 at 07:58