Is there a way to generate a custom notification, and how?

I have a bash script that performs rsync backups, and this script runs as a cronjob. I want to have that script generate a notification to tell me that the backup has completed, with something like the time and date the job successfully finished. I could do this in other distros. Can I do this in EOS?

I've searched the elementaryos.stackexchange.com quite thoroughly, and have also googled it, but cannot find an answer. Thank you.

1 Answer 1


I found an answer that works for me. I can use the command


More info at: https://wiki.archlinux.org/index.php/Desktop_notifications

  • This works just fine when run on terminal. But if you try to run it as a Cron task it doesn't work (at least in my setup: elementary OS 5.1.7). There are several solutions for this in AskUbuntu forum : askubuntu.com/questions/298608/… Commented Dec 5, 2021 at 8:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.