arukiri123
arukiri123

Reputation: 141

trigger event after specific time

How do you trigger an event or function after a certain time?

For instance, someone ordered something online and it has a payment due date of February 13 7:45AM. When the customer haven't paid anything before this date, his order will be automatically cancelled.

I don't know how to start coding that kind of situation.

Upvotes: 2

Views: 1814

Answers (1)

Mark Baker
Mark Baker

Reputation: 212402

Normally, a cron job would be used to manage tasks like that; though MySQL does have its own timed event scheduler

Upvotes: 3

Related Questions