Automate SQL Queries in Cloud database

What is the best approach to automate the running of SQL Queries in the Cloud database? Note the second part of the program is expected to send notifications that will include the changes completed by the query. 

 Discussion posts and replies are publicly visible