"use the cron job to hit a URL on the custom domain (with parameters if needed) and push new items into the queue"
-- Offbeatmammal
Question
A Cron job runs under a domain, *.appspot.com
(server name), because it doesn't belong to any particular (custom) domain.
But tasks in TaskQueue
run under its parent servlet's domain, like www.example.com
or xyz.abc.com
.
How can the tasks be launched into a particular custom domain from cron jobs?
Solution 2
"use the cron job to hit a URL on the custom domain (with parameters if needed) and push new items into the queue"
-- Offbeatmammal
OTHER TIPS
The actual domain name used to launch the cron job or task doesn't matter. As long as mydomain.com points to myapp.appspot.com, it will be handled by the same GAE handler. You shouldn't ever need to check the domain name of the request. So just launch the task from cron job and don't worry about it.