问题
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