Cron per Service/Module (AppEngine)
I have two modules/services and each one has a cron.xml. Only one of these ever seems to run (the most recently deployed in my experience), and the other doesn't fail, but the endpoint is never triggered (never shows up in the logs). Is there a 1-cron per project limit? What is the best way to manage crons so that modules aren't cross-dependant?
The cron.yaml is an app-level config file, not a service/module one. Meaning when you deploy the one you have in one module it'll overwrite the cron config from the other one. So you have to create a single cron.yaml file containing job configs for all services/modules. As #GAEfan mentioned you'll also need add target configs for each job. You might also need to add a dispatch.yaml file and maybe re-visit/adjust the request paths so that the cron job-issued requests make it to the right service/module. Deploying the app-level cron.yaml might not be happening implicitly when deploying the service(s), you may need to deploy it explicitly. From Uploading cron jobs: Option 2: Upload only your cron updates To update just the cron configuration without uploading the rest of the application, run the following command: appcfg.py update_cron <app-directory> Some more or less related Q&As: Deploying different languages services to the same Application [Google App Engine] Can a default module in a Google App Engine app be a sibling of a non-default module in terms of folder structure?
Use the target: backend-module-name parameter inside a cron job you want to send to a module other than default. Only one cron.yaml needed. Make sure you update: appcfg.py update app.yaml backend_module.yaml cron.yaml
Can't connect to localhost from Chrome extension
unable to send an email with attachment - google app engine
Google App Engine BadValueError even after import_transform: db.Text
GAE and Rackspace conflict
Google App Engine high performance proxy workaround
What rough spots or omissions in the GAE docs tripyou up or cost you time? [closed]
url not found when extending the default app engine url
trouble getting started with Django nonrel and gae
Restoring production gae data to the dev server
Is it possible to run parallel applications (High Performance Computing) on google app engine?
Cheapest way to import over 10m entities to app engine
How wide is transaction isolation in Google App Engine?
Session data not persisting in GAE (Java)
How to create form in google app engine and need to store the data in datastore?
Why does my Google App Engine Mail API calls still result in a DeadlineExceededError despite putting them in a task queue?
Size limit in Google Big Table