Hi, I have a similar data maintenance problem and I'm planning a 'cron- like' work-around which I'm happy to share. A basic option is to use an Ajax library which has a timer function, to call a method on your system which deletes unwanted data in batches. Unfortunately you then need a web page open always!
I'm planning a slight variation; where one of my less frequently used pages fires off an ajax call to an admin method. The admin method stores a few variables in memcache around when it was last called and what admin function needs to be invoked, it then calls the appropriate tidy-up function (in my case it deletes old data in chunks of 50 entries, among other things) to look after the system. You can fine tune the idea to fit. It increases the number of web- calls your system makes, but it think it might be helpful in your situation. Regards On Oct 21, 10:08 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > The "cron job" functionality would have to be invoked manually at > present but I see what you mean. I couldn't set all the posts as > hidden obviously but I could set the thread's status to hidden and for > each attempted view of the posts it would have to check the thread was > not hidden. > > I think there are plans (or at least a request) for routine events; is > this bug along those lines? > > http://code.google.com/p/googleappengine/issues/detail?id=109&colspec... > > It would be useful! > > On Oct 21, 12:15 am, Ross Ridge <[EMAIL PROTECTED]> wrote: > > > Andrew Badera wrote: > > > Why do you need to delete all posts? Couldn't you just kill the parent > > > itself, and leave the other entities orphaned in limbo, never to be > > > retrieved again? > > > I'd just mark the thread as "hidden", so it wouldn't show up for > > ordinary users, but it would still be visable by moderators and > > admins. That way the thread can be unhidden if "deleted" by accident > > or inappropriately. > > > If space becomes an issue then I'd delete the oldest messages with a > > daily "cron job". Assuming that is, some sort cron-like functionality > > gets added some time before then. > > > Ross Ridge --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---