One of the major additions to MySQL 5.1 is the the event scheduler. It is an internal scheduler,
which does not need any help from the operating system. As such,
it works independently in every platform.
One drawback of this feature, though, is that it can't
communicate with the operating system. i.e. the event scheduler
can't read system files, can't send e-mail messages, store data
into log files. It can only work within the database server. This
is convenient for security, but it is quite limiting. Time for
hacking!
In getting started with MySQL Proxy I showed an example of how to run shell commands from any MySQL client. Unfortunately, this method can't be used with the events, because events can't send queries to the …
[Read more]