Implement mobile notifications from any app or script

Although I am no longer a professional web developer, I still write some scripts from time to time, to help me in life. These scripts could vary from backup scripts to some website parser processing.

Their execution times ranged between a few minutes to a few hours. What I wanted to have is some notification that a script has ended its execution, so I could check the results. What options do I have?