Google App Engine上的Cron Jobs

时间:2016-12-29 15:48:20

标签: google-app-engine cron google-cloud-platform

我可以在部署App时检查Cron Jobs吗?

在本地,它是:<div ng-repeat="Descriptions in mainsWithDescription "> <div class="form-group col-md-2 top-Margin-language"> <label ng-model="Descriptions.Language">{{Descriptions.Language}}</label> </div> <div class="form-group col-md-4 top-Margin-Title"> <input type="text" class="form-control input-md" name="titleValidate[]" ng-model="Descriptions.Title" /> </div> <div class="form-group col-md-5"> <textarea maxlength="500" class="form-control input-md noresize" name="descriptionValidate[]" noresize ng-model="Descriptions.Description"></textarea> </div> <div class="form-group col-md-1"> <a style="cursor:pointer"><img ng-src="{{DeleteIcon_url}}" alt="delete image" ng-click="($index == !selectedDeleteIcon) || mainsWithDescription.splice($index,1)" ng-disabled="{{Descriptions.Language}}=='English'" ng-class="{'disabled': ($index == !selected)}" /> </a> </div> </div>

我猜可能是localhost:8000/cron,但没有用。

2 个答案:

答案 0 :(得分:3)

没有。但您可以在管理控制台中查看它们:

https://console.cloud.google.com/appengine/taskqueues?project=my-app&tab=CRON

答案 1 :(得分:0)

根据Seraf自己的分析服务,您必须运行

gcloud app deploy cron.yaml

为了上传cron任务,按照: https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml?hl=es-419#uploading_cron_jobs