We get many questions about getting an email or text when a reward is won.  This process may become easier when blockchain monitoring web services pop up, but for now there is a parameter that will help us accomplish this from the Core client.  This command can be used as a startup switch or in your config file


-walletnotify=<cmd>
Execute command when a wallet transaction changes (%s in cmd is replaced by TxID) 


For example, you could run a script:


Windows

-walletnotify=%userprofile%\scripts\email.ps1 %s


linux

-walletnotify=/home/turtleflax/scripts/email.sh %s


These examples would launch a script and passes the transaction ID as a parameter to the script.  The script could then do whatever you like, including logging to a file or sending an email.  For email, you would need to set that up on your system independently.  The following links may be useful for that:

https://gallery.technet.microsoft.com/scriptcenter/Simple-Powershell-function-8e826d7c


https://stackoverflow.com/questions/4658283/shell-script-to-send-email


If you would like to get a text message, you'll have to set up email and follow this guide: http://www.popularmechanics.com/culture/web/how-to/a3096/email-to-text-guide/