AWS Elastic Beanstalk无法执行cron.yaml文件

问题描述 投票:0回答:1

我目前在项目的根目录中有一个文件cron.yaml。

version: 3
cron:
 - name: "shopify"
   url: "/shopify"
   schedule: "0 * * * *"
 - name: "quickbooks"
   url: "/qb'"
   schedule: "0 * * * *"
 - name: "Shopify-Completed"
   url: "/shopify-completed"
   schedule: "0 * * * *"
 - name: "License-Orders"
   url: "/getLicenseOrders"
   schedule: "0 * * * *"
 - name: "Tee-Orders"
   url: "/getTeesOrders"
   schedule: "0 * * * *"
 - name: "Engraved-Orders"
   url: "/getEngravedOrders"
   schedule: "0 * * * *"
 - name: "Engraved-Mexico-Orders"
   url: "/getMexicoEngravedOrders"
   schedule: "0 * * * *"
 - name: "Shopify-All-Orders"
   url: "/pull-shopify-orders"
   schedule: "*/10 * * * *"

这些都是我项目中所有经过验证的路线。例如,当我手动转到example.com//pull-shopify-orders时,它将执行。但是,当它处于cron时,它不会触发。知道为什么吗?

amazon-web-services cron amazon-elastic-beanstalk
1个回答
0
投票

[cron.yaml仅支持worker environments

© www.soinside.com 2019 - 2024. All rights reserved.