AWS Elastic Beanstalk: Running Cron.d script, missing Environment Variables

前端 未结 9 1209
没有蜡笔的小新
没有蜡笔的小新 2021-01-17 10:39

I\'m trying to run a PHP script that is triggered by a cron script (in cron.d). The script is triggered properly but it is missing the Elastic Beanstalk \"Environment Variab

9条回答
  •  不知归路
    2021-01-17 11:01

    AWS and EBS are changing the location of the env vars from time to time. At the current time, I was able to retrieve the env vars from the following path (I've python EBS)

    /opt/python/current/env

提交回复
热议问题