Event generation in database based on time
I am wondering if there is any method available to i开发者_如何学Pythonmplement event trigger based on time. Lets say i want to deleted/modify a record in a certain time span for example in two days/48 hrs automatically,do i ve to implement something via code for checking it everyday? or database provide any functionality that makes life easier to check the time automatically to trigger the event. Thanks in advance.
Regards OS
You usually want a cron job, for that. Optionally with some kind of scheduled_jobs table.
精彩评论