From: Jim Winstead Date: July 31 2006 4:49am Subject: Re: new customized mysql thread List-Archive: http://lists.mysql.com/internals/33767 Message-Id: <20060731044940.GA10895@trainedmonkey.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Sun, Jul 30, 2006 at 11:47:40PM -0500, Md Lazreg wrote: > I wanted to add an additional thread to the mysql process. The goal of this > thread is to do some cron jobs like database backups... > > Basically I do not want to have my cron jobs as separate processes but as > part of the mysql process itself... > > I know that mysql already has some threads implemented : > http://dev.mysql.com/doc/refman/5.0/en/mysql-threads.html > > what I want is to add a customized one... > > Can you please guide me or comment on this before I dive in mysql source > code? This is already implemented in MySQL 5.1. http://dev.mysql.com/doc/refman/5.1/en/events.html Jim Winstead MySQL Inc.