Actually, inserts and row deltes, here is an example. Users get
congratulations, A check is made everyday at 08:00 in the morn :-)
for user_profile in profiles:
born = user_profile.birth_date
if born.day == today.day and born.month == today.month:
message_values = {'user_name':
get_user_name(user_profile.user_id)}
message = """ bla bla """
db.messages.insert(
user_id = user_profile.user_id,
subject = "Happy Birthday!",
message = message
)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---