Hello,
Java: Put something like this in your cron.xml (for Python modify
accordingly).

  <cron>


<url>/cron/map-reduce-start?map-reduce-path=/mapreduce/&amp;mapper-class=YOUR.PACKAGE.YOURMAPPERCLASSHERE&amp;entity-kind=YOURENTITYKINDHERE&amp;num-shards=YOURNUMBERSHARDSHERE&amp;processing-rate=YOURPROCESSINGRATEHERE&amp;controller-queue=YOURCONTROLLERQUEUEHERE&amp;worker-queue=YOURWORKERQUEUEHERE&amp;callback-queue=YOURCALLBACKQUEUEHERE&amp;callback-url=YOURCALLBACKURLHERE</url>

    <description>Some description</description>

    <schedule>every 1 hours</schedule>

  </cron>

Stephen

On Sun, Oct 24, 2010 at 3:14 AM, slash <[email protected]> wrote:

> Hi, everybody
>
>     I learned a lot from this group and Nick's blog. Thanks.
>
>     I want to combine mapreduce and cron job in order to run mapping
> automatically. I did lots of search in this group and from other
> resource but I got nothing.
>
>    I'm able to run cron job and mapreduce separately. But I really
> don't know how to combine them. Maybe I missed something really basic.
>
>    Could anyone tell me how to run mapreduce with cron job? I didn't
> find the corresponding url to trigger mapreduce. Thank you.
>
>    PS: I know that it's possible to do this and I subscribe issue 41
> in appengine-mapreduce project.
>
>    Here is the link:
> http://code.google.com/p/appengine-mapreduce/issues/detail?id=41.
>
> --
> 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]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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