Of course, you could:

  ·  Set the ETA to be the earlier of the event date-time and 30 days
from now.
  ·  When the task is executed, test for whether the event is now or
in the past or not.
  ·  If now or in the past then
    ·  do your alert
     else
    ·  repeat from the first step above.


On Mar 5, 3:01 pm, ale <aleee...@gmail.com> wrote:
> Good Idea!
> But I see on documentation that there is this limit:
>
> maximum countdown/ETA for a task                    30 days from the
> current date and time
>
> :-(
>
> But I can think about a beckend service that every day loop on my data e
> add task for event that are coming...
> Thanks a lot
>
>
>
>
>
>
>
> On Monday, March 5, 2012 10:33:14 AM UTC+1, Ian Marshall wrote:
>
> > You could enqueue a task for each alert, which has as its ETA the date-
> > time of the alert.
>
> > On Mar 4, 2:10 pm, ale <aleee...@gmail.com> wrote:
> > > Hi everybody,Hello
> > > I'm writing an application that works as a calendar online (like google
> > > calendar).
> > > My question is: if a user sets an event to an hour, and I wanted to put
> > an
> > > alarm to alert him (eg an email), how can I do ?
> > > I save the date of the event in a table, then
> > > I put up a task that checks every minute, and if the corret hour and
> > send
> > > him the mail? There are better ways?
>
> > > thanks a lot!
> > > Alessandro

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to