[Remind-Fans] Help with RUN
David F. Skoll
dfs at roaringpenguin.com
Wed Dec 3 09:18:02 EST 2014
On Wed, 03 Dec 2014 14:01:49 +0100
John Niendorf <john at jfniendorf.org> wrote:
> REM 2014-12-03 AT 13:51 RUN MSG Test aplay /home/john/MySounds/DQ.wav
> but as expected that only added the aplay command as part of the
> message text.
You can't combine RUN and MSG in the same reminder. The simplest
solution is to create a small shell script, something like this:
#!/bin/sh
# my-alert.sh
aplay /home/john/MySounds/DQ.wav &
gxmessage "$@" &
exit 0
Then use:
REM 2014-12-03 AT 13:51 RUN /path/to/my-alert.sh Test
Regards,
David.
More information about the Remind-fans
mailing list