google-app-engine


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

Related Links

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

Categories

HOME
facebook-oauth
jmeter
webdriver
pagination
phpmyadmin
composite-primary-key
rom
3d-reconstruction
gembox-spreadsheet
interpolation
x264
banner
fosrestbundle
openstreetmap
text-mining
supervisor
code-generation
scsi
symfony-2.8
dynamic-sql
charles
windows-xp
xcode-ui-testing
gpio
has-and-belongs-to-many
errbot
browser-sync
nsurl
send
activexobject
git-rewrite-history
nohup
password-protection
xv6
apriori
attributeerror
android-softkeyboard
datacachefactory
show-hide
snapchat
httr
ovf
tf
google-cse
trigger.io
offline.js
py2neo
universal-analytics
cd-burning
jtree
segment-io
nikeplus-api
drawstring
jboss-tools
dimension
respondcms
qiime
omniauth-facebook
fink
halcon
pushbots
qbxml
mobiledoc-kit
sapi
dllimport
xvim
video-player
text-search
cgi-bin
zscript
canvg
diff3
exceldatareader
punycode
mutual-authentication
menubar
gae-quotas
clickbank
sphinxql
mvc-editor-templates
nebula
insert-id
twisted.web
resource-management
qtconcurrent
zope.interface
pyunit
httponly
cgimage
automationelement
entitydatasource
squishit
vs-android
rowlex
isapi-extension
burndowncharts
dsl-tools
sun
scrubyt
change-management

Resources

Encrypt Message