On Saturday, June 8, 2019 at 11:47:47 PM UTC-7, mostwanted wrote: > > Is there a way to schedule an automatic deleting of content from database > on a specified date? I have an application that I want to delete posts > when we reach specified dates. If anyone is familiar with this, your > assistance would be greatly appreciated. > > Regards > > Mostwanted >
The other posts cover how to clean things up when there is a relevant request around the time that cleaning is desired. If you want the cleaning to be done on a regular basis, the Scheduler is the weapon of choice. There's a good description in the book, at <URL:http://web2py.com/books/default/chapter/29/04/the-core#web2py-Scheduler> and you can find a bunch of posts in the forum archives. /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/aece58c8-71df-4103-b85a-d5644e5522c8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.