Three ways to schedule a MySQL query
If you walk through any office you see people working in Excel.
With MySQL for Excel (https://www.mysql.com/why-mysql/windows/excel/)
you can already let them pull information from Excel themselves.
However, in some cases it saves a lot of time if they don’t have
to pull the information, but it’s pushed automatically.
Exception lists are the best examples of queries you want to push
to users. If you have a query with occasional results, you don’t
want to check for this every day. In this case you just want to
receive a mail if there are any results. Eg a list of stuck
invoices which can’t be processed automatically.
How can we do this?
1. Using the MySQL Event Scheduler
The MySQL Event scheduler can be used to run a query on a
predefined schedule and output the results in CSV format. …
[Read more]