Hello,
    I would like to know how can one delete rows from a web2py table where 
if a specific field (a timestamp) is older than 24hours? I would like this 
process to keep running in the background in fixed time-intervals (every 5 
minutes or so) and delete entries from the table where this field is older 
than 24hours from the current time. I know using the Scheduler is probably 
the correct way to go about it but I'm unable to figure out the exact code 
to be written (the documentation has too many options and hence a bit 
confusing). Looking for code samples! :)

Regards,
Mohit

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to