Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit f16b8de

Browse files
author
Jamie Snape
committed
Add sample configuration for task scheduler module on App Engine
1 parent 1087892 commit f16b8de

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

app.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,16 @@ handlers:
88
- url: /(.*\.(css|gif|ico|jpg|js|png))$
99
static_files: \1
1010
upload: .*\.(css|gif|ico|jpg|js|png)$
11+
secure: always
12+
13+
- url: /scheduler/run
14+
script: index.php
15+
login: admin
16+
secure: always
1117

1218
- url: /.*
1319
script: index.php
20+
secure: always
1421

1522
env_variables:
1623
midas_data_path: gs://your-cloudstorage-bucket/data

cron-sample.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Enable the task scheduler module and rename this file "cron.yaml".
2+
cron:
3+
- description: task scheduler job
4+
url: /scheduler/run
5+
schedule: every 10 minutes

0 commit comments

Comments
 (0)