google-app-engine


How do you schedule a Java Task (cron) on app engine flexible?


How do you create a Java long running scheduled task (like every hour) on app engine flexible environment?
The only docs I can find are for standard environment:
https://cloud.google.com/appengine/docs/standard/java/config/cron
Is there anything in the platform?
Yes, it does. Documentation is here for Flexible/Java.
To upload your cron jobs, you must specify the cron.yaml as a parameter to the following gcloud command:
gcloud app deploy cron.yaml
To delete all cron jobs, change the cron.yaml file to just contain:
cron:
The cron.yaml file lives in the WEB-INF directory of your application (alongside app.yaml). The following is an example cron.yaml file:
cron:
- description: daily summary job
url: /tasks/summary
schedule: every 24 hours

Related Links

Deferred API calls don't seem to run on normal front end instances
full implementation of pagination using cursors
Nested structs on GAE datastore using Go
When doing a non ancestor query with a sort by key, will my result be ordered by entity groups?
JPA#Google App Engine: JPQL SELECT queries always return empty results
How do I ensure consistency between MemCache and Datastore on GAE?
Google App Engine routing and pathing
jinja2 template inheritance sample does not work
Debug google app engine project line by line
Pricing for Google App Engine with Custom SSL
GAE (JPA) add database entry manually
App Engine, JDO and Maven. Error on startup
Cant write cookies on live instance of google appengine
Google App Engine - Retrieving Parameters from URI in a doGet()?
How to detect if entity has no attribute (not model) in Google App Engine
GAE synchronized data with instances

Categories

HOME
httparty
fabricjs
paraview
amp-html
character-encoding
numbers
can
bitbucket-api
edge
simulink
nested-if
code-coverage
google-cloud-datalab
gluon-mobile
frontend
vert.x
pkcs#11
flume
spring-social
qsqlquery
screen-readers
symfony-2.8
mathprog
squashfs
hta
ms-access-2003
entity-relationship-model
handler
paperjs
biztalk-rule-engine
sendbird
fossil
jwplayer6
salesforce-communities
ideascript
odroid
setup.py
xv6
vmware-fusion
wmp
show-hide
phpdbg
xbmc
tf
edit
swingworker
stripe-connect
usart
cudd
custom-lists
reporting-services-2012
latin
myspace
greatest-n-per-group
dup
gogs
avspeechsynthesizer
freepbx
kendo-upload
design-principles
crouton-os
asyncdisplaykit
xenomai
fuelcms
dock
evolus-pencil
snoop
mmwormhole
dbaccess
at-job
ssis-data-flow
psr-4
mdichild
ios8-extension
solace-mq
code-duplication
tlf
mvc-editor-templates
mantle
curb
tree-balancing
redis-py
sentestingkit
xcode3.2
iboutlet
ilasm
matlab-load
jqote
rmdir
mbeans
w3c-geolocation
nhprof
ruby-1.8
load-time
ie-compatibility-mode
lobo-cobra
int64
product-management
ifilter
mathematical-typesetting

Resources

Encrypt Message