Hi,

You can't fork threads from within gae and letting an active servlet
sleep within gae to reschedule it every 30 min is not a good idea for
various reasons (resources, risk of failure, etc..

you have to either go the cron or the task way (and with a delay time
of 30 min). Cron way is the simplest in that case.

regards
didier

On Jan 16, 6:10 am, dosht <[email protected]> wrote:
> Hi there,
> If there is something I want to run every 30 minute
> can I do something like this:
>
> doGet(...) {
>      while(true){
>            fecthDataFromTwitter();
>            Thread.sleap(30*60*1000);
>       }
>
> }
>
>

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

Reply via email to