Running cron jobs for node.js in EBS worker environment via cron.yaml file

孤街浪徒 提交于 2021-02-11 15:54:54

问题


I am trying to configure cron jobs for a node project and uploading on a ebs worker environment. Here is my cron.yaml file

when i upload this worker tier project to worker tier environment on ebs, i get the following error,

[Instance: i-02c855ffd34efcc26] Command failed on instance. Return code: 1 Output: Failed of parsing file 'cron.yaml', because: key not found: "cron" - (AWS::EB::SQSD::ScheduleParser::ScheduleFileError). Hook /opt/elasticbeanstalk/addons/sqsd/hooks/start/02-start-sqsd.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.

Is there anything wrong with my .yaml file? Why cron key is not being found by the ScheduleParser?

来源:https://stackoverflow.com/questions/61438390/running-cron-jobs-for-node-js-in-ebs-worker-environment-via-cron-yaml-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!