Created
January 10, 2020 08:55
-
-
Save filipsPL/09752cbf732d0a6d7956986383aeda0e to your computer and use it in GitHub Desktop.
How to use kdialog from cron-started jobs.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export DISPLAY=:0 | |
kdialog --title "Borg backup done $(date +"%A %x")" --passivepopup "<pre>$(cat /home/user/backup.log)</pre>" 10s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment