This script runs fine in terminal but not as a crontab entry:
#!/bin/bash
value=$RANDOM
while [ $value -gt 1800 ] ; do
value=$RANDOM
done
sleep $value
notify-send -t 7000 -i /usr/share/icons/oxygen/64x64/status/dialog-warning.png 'test'
Crontab entry:
45 * * * * /usr/local/bin/reminder.sh
No cron log errors. Presumably need to change something in the script to get it to work from cron?