Richard Fisher11/24/2020, 10:57 AM
) which seems not to be on the path when cron runs. I can manually fix this by adding
file, although this file is overwritten each time I call
. Is there a better approach/workaround for this?
dagster schedule up
This doesn’t feel very elegant, so I’d still like a better approach, if anyone has any suggestions?
my_env = os.environ.copy() my_env['PATH'] = '/usr/local/bin:/usr/local/sbin:~/bin:/usr/bin:/bin:/usr/sbin:/sbin' res = subprocess.check_call(['docker', <other_args>])
alex11/24/2020, 3:37 PM
that should remove these cron related issues so keep an eye out for that
Richard Fisher11/24/2020, 3:38 PM