Thursday, October 12, 2017

Cron Job

  1. Create a cron.yaml
  2. Write Code
cron:
- description: Update Today Flight job
  url: /api/Flight/UpdateTodayFlights/KUL

  schedule: every day 02:00
  1. cd yamlfilepath
  2. gcloud app deploy cron.yaml

No comments:

Post a Comment