dispatch:
- url: "*/cron/*"
module: background
- url: "*/_ah/queue/deferred"
module: background
- url: "*/background_tasks/*"
module: background
When I enter a "http://MYHOST/background_tasks/XXX" from my web browser, the task is indeed handled by the "background" module.
However, when the task is run from within my app:
taskqueue.add(url="/background_tasks/XXX"), queue_name="YYY")
The task is handled by the default module (I've verified this by looking at the GAE logs in Dev Console for each of the two modules separately).
Can someone please help me understand why this discrepancy?
Thanks,
Kirill