For God's sake don't change the system time! If you're in a professional environment you'll get fired! There's more things than your little piece of work depending on that. MySQL needs a Event manager along the lines of SQL Server's Task Manager. You can run a job from the UI. The job history and scheduler is far better. It can email when the task errors and have multiple steps that invoke more than just a stored proc.