https://dagster.io/ logo
c

Cris

05/15/2020, 3:13 AM
Hi, I wanted to ask you. If I start dagit with certain env variables (eg
$ VAR=val dagit ...
), how can I make these available for the scheduled jobs also, it seems they are not starting as the env vars are not set for the cron.
s

sashank

05/15/2020, 4:32 AM
You can pass an
environment_vars
argument to the schedule decorator, and the env vars will be set in the script executed by cron
c

Cris

05/15/2020, 2:24 PM
alright!
nice
2 Views