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

Commit

Permalink
Add sample configuration for task scheduler module on App Engine
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Snape committed Jul 14, 2014
1 parent 1087892 commit f16b8de
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,16 @@ handlers:
- url: /(.*\.(css|gif|ico|jpg|js|png))$
static_files: \1
upload: .*\.(css|gif|ico|jpg|js|png)$
secure: always

- url: /scheduler/run
script: index.php
login: admin
secure: always

- url: /.*
script: index.php
secure: always

env_variables:
midas_data_path: gs://your-cloudstorage-bucket/data
Expand Down
5 changes: 5 additions & 0 deletions cron-sample.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Enable the task scheduler module and rename this file "cron.yaml".
cron:
- description: task scheduler job
url: /scheduler/run
schedule: every 10 minutes

0 comments on commit f16b8de

Please sign in to comment.