A short script to run rsync, and send a notification to gotify with "Success" or "Error", and the last couple of lines of the rsync log.
Replace the following: