On 17 Lis, 16:09, A.TNG <[EMAIL PROTECTED]> wrote:
> On Mon, Nov 17, 2008 at 11:48 AM, Alex Cheng <[EMAIL PROTECTED]> wrote:
>
> > I want to add a timer to my GAE application, so I can execute certain
> > logic at given interval. I tried python's Timer object (http://
> >www.python.org/doc/2.5.2/lib/timer-objects.html), but it doesn't seem
> > to work properly.
>
> If you want cron jobs, you may try this 
> http://code.google.com/p/gaeutilities/wiki/Cron.
> Good luck. :-)

Or you can try my http://schedulerservice.appspot.com/

Main difference is that gaeutilities Cron runs inside your own app
inside requests initiated by regular (human) clients. Cron tasks will
not fire if there are no viewers, but generally every useful site has
at least some page views per day, so that shouldn't be a big problem.

On the other hand, Scheduler Service uses agents that call your url
from external hosts, so the whole thing doesn't depend on human
guests. But those external agents run on my servers, not Google's
ones, so if I were you I woudn't expect them to be that reliable
(altough me being me - I do expect them do be reliable, because I
simply trust myself ;). Also, with gaeutilities you can define any
number of tasks that will execute as often as you like as long as
there are human-initiated page views on your site. Scheduler Service
let's you define only a few schedulers that run at most 1 time per
hour.

Maybe the best thing would be to mix two technologies in new sites,
that is - run Cron tasks from both human and schedulerservice urls and
after your site (hopefully) gets some audience, drop schedulerservice
part?

Hope that helps.

Regards
Maciej
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to