if you have a large number of users running this once a week might take a 
long time...

on app engine, use the app engine cron functionality to schedule a request 
once a week.  i'd point that to an instance that can run for long time 
periods (these were called backends and then in a recent release of the GAE 
SDK they created a new way to configure these instance and called them by a 
new name)

cfh

On Thursday, August 15, 2013 7:06:12 AM UTC-7, jjg0 wrote:
>
> (Using google app engine if that matters)
>
> I have a table that I want to update on a weekly basis.  Basically it's a 
> simple table of users with a date field that gets set to the last time they 
> did something and a field to indicate that they are active. I want to check 
> every Monday which users weren't active for the prior week and  set them to 
> inactive.  Is this possible?  What would I use to do this so this check is 
> only done once every week.  I could set this up to run every time someone 
> requests a page but that seems like a waste. I want this to somehow trigger 
> on its own.
>
> Thanks!
>

-- 

--- 
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/groups/opt_out.

Reply via email to