From f16b8de726a005fad5d4e0e961a3ccdd05372460 Mon Sep 17 00:00:00 2001 From: Jamie Snape Date: Thu, 3 Jul 2014 08:51:06 -0400 Subject: [PATCH] Add sample configuration for task scheduler module on App Engine --- app.yaml | 7 +++++++ cron-sample.yaml | 5 +++++ 2 files changed, 12 insertions(+) create mode 100644 cron-sample.yaml diff --git a/app.yaml b/app.yaml index 2fc2407a1..9bbfacecb 100644 --- a/app.yaml +++ b/app.yaml @@ -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 diff --git a/cron-sample.yaml b/cron-sample.yaml new file mode 100644 index 000000000..9bacef716 --- /dev/null +++ b/cron-sample.yaml @@ -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