Hi Didier. Thanks for your input.

I was hoping that it would be possible to schedule each task with an
execution date. With that information, GAE would execute the task on
the execution date, very much like an alarm clock.

I guess I'll have to implement a cron job at a regular interval and
use the task queues as you mentioned.

On Sep 5, 4:56 pm, Didier Durand <durand.did...@gmail.com> wrote:
> Hi marco,
>
> One solution to this problem is:
>     - you record the time when you need to act in the datastore as a
> future triger
>     - you schedule a job every minute: it checks how many triggers
> have been reached and you launch an independent task for each of them
>
> regards
> didier
>
> On Sep 5, 5:26 pm, Marco Alves <marco.m.al...@gmail.com> wrote:
>
>
>
> > Hi everyone!
>
> > I'm working on hobby project where I would like to schedules tasks
> > based on user-defined event information.
>
> > For example, if a user event (like a lunch) is scheduled for the day
> > after tomorrow and half of the users have not responded  to the
> > invitation (today), the system would automatically send a notification
> > email in order to remind them to answer the invitation.
>
> > Additionally, the user should be able to define the reminder /
> > notification logic that the system implements: (1) the number of
> > reminders, (2) the number of days / hour in advance, (3) the
> > recipients of the notification are some the parameters the user should
> > be able to configure.
>
> > I've looked to Task Queues and Cron (both for GAE Java) as solutions
> > to this problem. However, Task Queues and Cron don't seem to address
> > the problem directly: (1) Task Queues run immediately and (2) Cron
> > requires regularity which is not the case with user-defined events.
>
> > Do you have any suggestion / best-practice to implement a solution to
> > the problem described above?
>
> > Thanks!

-- 
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-j...@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