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 <[email protected]> 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.