On May 30, 2012, at 7:13 PM, Massimo Di Pierro wrote: > you can make a cron job in admin @reboot
It'd have to be soft cron, yes? And it wouldn't run until after my app services its first request after restart, if I remember my soft cron logic aright. > > On Wednesday, 30 May 2012 21:10:13 UTC-5, Jonathan Lundell wrote: > I've got an application that uses memcached. I'd like to recognize when > web2py gets restarted (mod_wsgi, fwiw) so I can flush my cache. No doubt I > can figure something out, but I'm sure I must be missing something obvious. > (My motivation: in my development environment, I sometimes blow away my > database when installing and starting a new copy of the app, and things get > confused when the cache is still holding data from the earlier run.)