Entrepreneur
Article

PHPMaster: Working with MySQL Events

By Martin Psinas
Mila is a prolific book cover designer on 99designs. Work with her today!
I'm led by "Work hard. Play fair. Be nice." That's a key to success.
Mila Milic

MySQL events were added in MySQL 5.1.6 and offer an alternative to scheduled tasks and cron jobs. Events can be used to create backups, delete stale records, aggregate data for reports, and so on. Unlike standard triggers which execute given a certain condition, an event is an object that is triggered by the passage of time and is sometimes referred to as a temporal trigger . You can schedule events to run either once or at a recurring interval when you know your server traffic will be low.

Original post:
PHPMaster: Working with MySQL Events

More:
PHP

No Reader comments

Recommended
Sponsors
Get the latest in Entrepreneur, once a week, for free.