创建定时任务,可以使用环境变量吗? #2191
Unanswered
13690842809
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我创建了一个定时任务
命令是:curl -v -k http://host:8000/api/test
我希望能引入环境变量host
curl -v -k http://${host}:8000/api/test
我发现脚本那边是能export host进行引用的
Beta Was this translation helpful? Give feedback.
All reactions